[Rpm-maint] [rpm-software-management/rpm] macros: Add %remove_installed_la_files (#1674)

tbaederr notifications at github.com
Wed May 5 16:38:11 UTC 2021


Lots of packages remove .la files via

find $RPM_BUILD_ROOT -name "*.la" -delete

or similar. Add %remove_installed_la_files to standardize this.


I could not find tests for the macros in the rpm repository, but I testes this separately in a spec file. I went with `-delete` here and not `exec rm -f {} \;`. It might also be worthwhile to add `-print` as well.

Thoughts?

You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1674

-- Commit Summary --

  * macros: Add %remove_installed_la_files

-- File Changes --

    M macros.in (4)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1674.patch
https://github.com/rpm-software-management/rpm/pull/1674.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1674
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210505/c0142540/attachment.html>


More information about the Rpm-maint mailing list