From d5db07694da6e145654bd566d4359695379e53c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sun, 5 Aug 2018 19:33:30 +0300 Subject: build.macros: fix python bytecompile in __os_instal_post as __brp_python_bytecompile is now defined by rpm upstream --- build.macros.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.macros.in') diff --git a/build.macros.in b/build.macros.in index 3dfaea8..3b82f77 100644 --- a/build.macros.in +++ b/build.macros.in @@ -289,7 +289,7 @@ fi %__os_install_post \ %{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \ - %{!?__brp_python_bytecompile:[ %{?_python_bytecompile_build} -eq 1 ] && /usr/lib/rpm/brp-python-bytecompile %{__python} %{?_python_bytecompile_errors_terminate_build}} \ + %{?__brp_python_bytecompile} %{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \ %{nil} -- cgit v1.2.1