aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--build.macros.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 7d389e6..f16eb41 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- build.macros: run /usr/lib/rpm/brp-remove-la-files after %install (available since RPM 4.17.0)
- build.macros: run /usr/lib/rpm/check-rpaths after %install
Version 2.60 - 23 June 2021, by Thierry Vignaud
diff --git a/build.macros.in b/build.macros.in
index 82e2f02..8ad302f 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -418,6 +418,7 @@ fi
%__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_remove_la_files /usr/lib/rpm/brp-remove-la-files
# __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
@@ -436,6 +437,7 @@ fi
%{?py_auto_byte_compile:%{?__brp_python_bytecompile}} \
%{?__brp_check_rpaths} \
%{?__brp_mangle_shebangs} \
+ %{?__brp_remove_la_files} \
%{nil}
%__spec_install_post\