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

Panu Matilainen notifications at github.com
Thu Jun 10 06:37:10 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

Oh and please explain the rationale in the commit message. The commit itself shows that a file named brp-remove_la_files gets added, but what it does and why is what the commit summary + message should explain.

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


More information about the Rpm-maint mailing list