diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | build.macros.in | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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\ |