aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-05-09 18:03:57 +0300
committerJani Välimaa <wally@mageia.org>2020-05-09 18:03:57 +0300
commit05a9a6455465ab7da58e37d9d5832ff2eb1c57a0 (patch)
treee3510b977d9ba7e307f6223ce0a3ca5735d5a01e
parent367c0c2f3984fe4421383cf9d143e60e11edd995 (diff)
downloadrpm-setup-05a9a6455465ab7da58e37d9d5832ff2eb1c57a0.tar
rpm-setup-05a9a6455465ab7da58e37d9d5832ff2eb1c57a0.tar.gz
rpm-setup-05a9a6455465ab7da58e37d9d5832ff2eb1c57a0.tar.bz2
rpm-setup-05a9a6455465ab7da58e37d9d5832ff2eb1c57a0.tar.xz
rpm-setup-05a9a6455465ab7da58e37d9d5832ff2eb1c57a0.zip
build.macros: run /usr/lib/rpm/check-buildroot at end of %install scriptlet via __arch_install_post
-rw-r--r--NEWS4
-rw-r--r--build.macros.in2
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a2063ac..6d27add 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+
+- build.macros: run /usr/lib/rpm/check-buildroot at end of %install scriptlet
+ via __arch_install_post
+
Version 2.54 - 14 April 2020, by Thierry Vignaud
- stop emiting requires(posttrans) on info-install (less container bloat)
diff --git a/build.macros.in b/build.macros.in
index 4a763db..07f4364 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -417,6 +417,8 @@ fi
# __brp_mangle_shebangs_exclude_from_file - file from which to get files to ignore
%__brp_mangle_shebangs /usr/lib/rpm/redhat/brp-mangle-shebangs %{?__brp_mangle_shebangs_exclude:--shebangs "%{?__brp_mangle_shebangs_exclude}"} %{?__brp_mangle_shebangs_exclude_file:--shebangs-from "%{__brp_mangle_shebangs_exclude_file}"} %{?__brp_mangle_shebangs_exclude_from:--files "%{?__brp_mangle_shebangs_exclude_from}"} %{?__brp_mangle_shebangs_exclude_from_file:--files-from "%{__brp_mangle_shebangs_exclude_from_file}"}
+%__arch_install_post /usr/lib/rpm/check-buildroot
+
%__os_install_post \
%{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \
%{!?__debug_package:\