aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 09:53:27 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 10:02:48 +0200
commitc099a5321db72d2ae87d12de90afc185c8e39a5d (patch)
tree9d78e010d9573b9845cedf765c0c89e47fcb033d /build.macros.in
parent69c50cd61f4c793ac37df0d43255671f5e3c960a (diff)
downloadrpm-setup-c099a5321db72d2ae87d12de90afc185c8e39a5d.tar
rpm-setup-c099a5321db72d2ae87d12de90afc185c8e39a5d.tar.gz
rpm-setup-c099a5321db72d2ae87d12de90afc185c8e39a5d.tar.bz2
rpm-setup-c099a5321db72d2ae87d12de90afc185c8e39a5d.tar.xz
rpm-setup-c099a5321db72d2ae87d12de90afc185c8e39a5d.zip
move %__os_install_post
It's run at end of %install, not at beginning Plus it's now easier to compare with FC
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in12
1 files 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 \