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

Panu Matilainen notifications at github.com
Thu Jun 10 06:35:18 UTC 2021


@pmatilai commented on this pull request.



> @@ -0,0 +1,8 @@
+#!/bin/sh
+
+# If using normal root, avoid changing anything.
+if [ -z "$RPM_BUILD_ROOT" ] || [ "$RPM_BUILD_ROOT" = "/" ]; then
+  exit 0
+fi
+
+find "$RPM_BUILD_ROOT" -name "*.la" -delete -print

You'll want to add `-type f` there, just in case. Traditionally brp-scripts work quietly so the `-print` should probably go.

-- 
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#pullrequestreview-680391907
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210609/d42a4c6c/attachment.html>


More information about the Rpm-maint mailing list