From c099a5321db72d2ae87d12de90afc185c8e39a5d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Sep 2018 09:53:27 +0200 Subject: move %__os_install_post It's run at end of %install, not at beginning Plus it's now easier to compare with FC --- build.macros.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.macros.in b/build.macros.in index d7e93eb..481d6cb 100644 --- a/build.macros.in +++ b/build.macros.in @@ -284,12 +284,6 @@ fi # Expanded at beginning of %install scriptlet. # -%__os_install_post \ - %{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \ - %{?__brp_python_bytecompile} \ - %{?__brp_python_hardlink}%{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \ -%{nil} - #============================================================================== # ---- specfile macros. @@ -452,6 +446,12 @@ popd [ %{_with build} -eq 1 ] || exit 0 \ %{nil} +%__os_install_post \ + %{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \ + %{?__brp_python_bytecompile} \ + %{?__brp_python_hardlink}%{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \ +%{nil} + %install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\ %%install\ [ %{_with install} -eq 1 ] || exit 0 \ -- cgit v1.2.1