aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2021-09-07 19:16:09 +0300
committerJani Välimaa <wally@mageia.org>2021-09-07 19:16:09 +0300
commit5928f1024bc04ee2069125d19ab207fc94855b8e (patch)
tree7e979706aa3277e20f7ab045b8824f80f6acbeee
parent85261a4630030d8397ef46e1eee95036b8e843ba (diff)
downloadrpm-setup-5928f1024bc04ee2069125d19ab207fc94855b8e.tar
rpm-setup-5928f1024bc04ee2069125d19ab207fc94855b8e.tar.gz
rpm-setup-5928f1024bc04ee2069125d19ab207fc94855b8e.tar.bz2
rpm-setup-5928f1024bc04ee2069125d19ab207fc94855b8e.tar.xz
rpm-setup-5928f1024bc04ee2069125d19ab207fc94855b8e.zip
build.macros: run /usr/lib/rpm/check-rpaths after %install
-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}