aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2021-09-07 19:25:27 +0300
committerJani Välimaa <wally@mageia.org>2021-09-07 19:25:27 +0300
commit6e4702d2c1b6e7b86a549abb671e35db59c4238e (patch)
treeeca9ab4452625c2947b404c743ec35cdfe82daf9 /build.macros.in
parent5928f1024bc04ee2069125d19ab207fc94855b8e (diff)
downloadrpm-setup-6e4702d2c1b6e7b86a549abb671e35db59c4238e.tar
rpm-setup-6e4702d2c1b6e7b86a549abb671e35db59c4238e.tar.gz
rpm-setup-6e4702d2c1b6e7b86a549abb671e35db59c4238e.tar.bz2
rpm-setup-6e4702d2c1b6e7b86a549abb671e35db59c4238e.tar.xz
rpm-setup-6e4702d2c1b6e7b86a549abb671e35db59c4238e.zip
build.macros: run /usr/lib/rpm/brp-remove-la-files after %install
/usr/lib/rpm/brp-remove-la-files was added to RPM 4.17.0 https://github.com/rpm-software-management/rpm/commit/e0de325e1d13fb65066ad09d16cb08ba6e294901
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in2
1 files changed, 2 insertions, 0 deletions
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\