aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 10:12:20 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 10:21:04 +0200
commitd4f293c221b6e1e2da0eb4ad356da1ec6e22a043 (patch)
treec899bf26106d02fb20d39fa5a75af47b09af3047
parent2384e85968fad813eb555807055b7ca18ed92ecf (diff)
downloadrpm-setup-d4f293c221b6e1e2da0eb4ad356da1ec6e22a043.tar
rpm-setup-d4f293c221b6e1e2da0eb4ad356da1ec6e22a043.tar.gz
rpm-setup-d4f293c221b6e1e2da0eb4ad356da1ec6e22a043.tar.bz2
rpm-setup-d4f293c221b6e1e2da0eb4ad356da1ec6e22a043.tar.xz
rpm-setup-d4f293c221b6e1e2da0eb4ad356da1ec6e22a043.zip
split %__brp_python_hardlink too
-rw-r--r--build.macros.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in
index 09c96d5..1125682 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -446,11 +446,12 @@ fi
# Expanded at end of %install scriptlet.
%__brp_python_bytecompile /usr/lib/rpm/brp-python-bytecompile "%{__python}" "%{?_python_bytecompile_errors_terminate_build}" "%{?_python_bytecompile_extra}"
+%__brp_python_hardlink /usr/lib/rpm/brp-python-hardlink
%__os_install_post \
%{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \
%{?py_auto_byte_compile:%{?__brp_python_bytecompile}} \
- %{?__brp_python_hardlink}%{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \
+ %{?__brp_python_hardlink} \
%{nil}
%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\