diff --git a/buildflags.md b/buildflags.md index 6e31bfb..106f9f5 100644 --- a/buildflags.md +++ b/buildflags.md @@ -333,6 +333,8 @@ These steps can be skipped by undefining the corresponding macros: are loadable immediately after installation, even if they are not yet listed in the `/etc/ld.so.cache` file (because `ldconfig` has not been invoked yet). +* `__brp_remove_la_files`: This step removes libtool-generated `.la` + files from the installed files. # Individual compiler flags diff --git a/macros b/macros index 54659c1..2314c2a 100644 --- a/macros +++ b/macros @@ -268,6 +268,7 @@ print(result) %{?__brp_strip_static_archive} \ %{?__brp_check_rpaths} \ %{?__brp_mangle_shebangs} \ + %{?__brp_remove_la_files} \ %{__os_install_post_python} \ %{nil} diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 67dcf97..27cb267 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 214 +Version: 215 Release: 1%{?dist} # No version specified. License: GPL+ @@ -191,6 +191,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Mon Feb 21 2022 Timm Bäder - 215-1 +- Add %%__brp_remove_la_files to %%__os_install_post + * Thu Feb 10 2022 Florian Weimer - 214-1 - ppc64le: Switch baseline to POWER9 on ELN (ELN issue 78)