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 --- NEWS | 2 ++ build.macros.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 406a5de..b1654ad 100644 --- a/NEWS +++ b/NEWS @@ -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} -- cgit v1.2.1