diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | build.macros.in | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix python bytecompile in __os_instal_post as __brp_python_bytecompile is now defined by rpm upstream + Version 2.28 - 26 May 2018, by Jani Välimaa - add -fasynchronous-unwind-tables to default optflags for x86_64 and aarch64 (%ix86 has it already) 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} |