Add %__brp_remove_la_files to __os_install_post

This commit is contained in:
Timm Bäder 2021-10-12 07:51:23 +02:00
parent 00cb14aeb4
commit ccc728db6d
3 changed files with 7 additions and 1 deletions

View File

@ -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 are loadable immediately after installation, even if they are not yet
listed in the `/etc/ld.so.cache` file (because `ldconfig` has not been listed in the `/etc/ld.so.cache` file (because `ldconfig` has not been
invoked yet). invoked yet).
* `__brp_remove_la_files`: This step removes libtool-generated `.la`
files from the installed files.
# Individual compiler flags # Individual compiler flags

1
macros
View File

@ -268,6 +268,7 @@ print(result)
%{?__brp_strip_static_archive} \ %{?__brp_strip_static_archive} \
%{?__brp_check_rpaths} \ %{?__brp_check_rpaths} \
%{?__brp_mangle_shebangs} \ %{?__brp_mangle_shebangs} \
%{?__brp_remove_la_files} \
%{__os_install_post_python} \ %{__os_install_post_python} \
%{nil} %{nil}

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 214 Version: 215
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -191,6 +191,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
%doc buildflags.md %doc buildflags.md
%changelog %changelog
* Mon Feb 21 2022 Timm Bäder <tbaeder@redhat.com> - 215-1
- Add %%__brp_remove_la_files to %%__os_install_post
* Thu Feb 10 2022 Florian Weimer <fweimer@redhat.com> - 214-1 * Thu Feb 10 2022 Florian Weimer <fweimer@redhat.com> - 214-1
- ppc64le: Switch baseline to POWER9 on ELN (ELN issue 78) - ppc64le: Switch baseline to POWER9 on ELN (ELN issue 78)