From d4f293c221b6e1e2da0eb4ad356da1ec6e22a043 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Sep 2018 10:12:20 +0200 Subject: split %__brp_python_hardlink too --- build.macros.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}}}\ -- cgit v1.2.1