[Rpm-maint] [rpm-software-management/rpm] remove-la-files: Use file to check for libtool files (PR #1819)

Timm Bäder notifications at github.com
Mon Nov 8 07:22:23 UTC 2021


> find "$RPM_BUILD_ROOT" -type f -name '*.la' 2>/dev/null -print0 | xargs --null grep --fixed-strings '.la - a libtool library file' --files-with-matches --null | xargs --null rm --force

This seems quite elegant but doesn't work if the file contains spaces. Is that something a brp script needs to care about?

-- 
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/1819#issuecomment-962876846
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211107/36770d6d/attachment.html>


More information about the Rpm-maint mailing list