aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2018-08-05 19:37:49 +0300
committerJani Välimaa <wally@mageia.org>2018-08-05 19:37:49 +0300
commita7079b01bd65cc93b333fbc717915cc1b1a83bf8 (patch)
tree1d0829cefbca6250e87bd445a545db275237d934
parentd5db07694da6e145654bd566d4359695379e53c9 (diff)
downloadrpm-setup-a7079b01bd65cc93b333fbc717915cc1b1a83bf8.tar
rpm-setup-a7079b01bd65cc93b333fbc717915cc1b1a83bf8.tar.gz
rpm-setup-a7079b01bd65cc93b333fbc717915cc1b1a83bf8.tar.bz2
rpm-setup-a7079b01bd65cc93b333fbc717915cc1b1a83bf8.tar.xz
rpm-setup-a7079b01bd65cc93b333fbc717915cc1b1a83bf8.zip
build.macros: allow redefinition of __brp_python_hardlink in __os_instal_post
-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}