aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'build.macros.in')
-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}}}\