aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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:\