aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--build.macros.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 63fbbf7..7d389e6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- build.macros: run /usr/lib/rpm/check-rpaths after %install
+
Version 2.60 - 23 June 2021, by Thierry Vignaud
- Drop __brp_python_hardlink for rpm-4.17beta1
diff --git a/build.macros.in b/build.macros.in
index 15a4c30..82e2f02 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -417,6 +417,7 @@ fi
%__brp_strip_comment_note /usr/lib/rpm/brp-strip-comment-note %{__strip} %{__objdump}
%__brp_strip_static_archive /usr/lib/rpm/brp-strip-static-archive %{__strip}
%__brp_python_bytecompile /usr/lib/rpm/brp-python-bytecompile "%{__python}" "%{?_python_bytecompile_errors_terminate_build}" "%{?_python_bytecompile_extra}"
+%__brp_check_rpaths /usr/lib/rpm/check-rpaths
# __brp_mangle_shebangs_exclude - shebangs to exclude
# __brp_mangle_shebangs_exclude_file - file from which to get shebangs to exclude
# __brp_mangle_shebangs_exclude_from - files to ignore
@@ -433,6 +434,7 @@ fi
%{?__brp_strip_static_archive} \
} \
%{?py_auto_byte_compile:%{?__brp_python_bytecompile}} \
+ %{?__brp_check_rpaths} \
%{?__brp_mangle_shebangs} \
%{nil}