From 05a9a6455465ab7da58e37d9d5832ff2eb1c57a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sat, 9 May 2020 18:03:57 +0300 Subject: build.macros: run /usr/lib/rpm/check-buildroot at end of %install scriptlet via __arch_install_post --- NEWS | 4 ++++ build.macros.in | 2 ++ 2 files changed, 6 insertions(+) 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:\ -- cgit v1.2.1