aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--build.macros.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b1654ad..b4ac334 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- fix python bytecompile in __os_instal_post as __brp_python_bytecompile is now defined by rpm upstream
+- allow redefinition of __brp_python_hardlink in __os_instal_post
Version 2.28 - 26 May 2018, by Jani Välimaa
diff --git a/build.macros.in b/build.macros.in
index 3b82f77..09fec9a 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -290,7 +290,7 @@ fi
%__os_install_post \
%{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \
%{?__brp_python_bytecompile}
- %{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \
+ %{?__brp_python_hardlink}%{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \
%{nil}