[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)
Panu Matilainen
notifications at github.com
Tue Sep 23 08:46:31 UTC 2025
@pmatilai commented on this pull request.
> +While the RPM macro primitives are limited, using *%{lua:...}* enables the
+writing of full-featured, macro-only generators in the Lua language.
+
+The following trivial example creates provides from path basenames, which is
+enormously faster than the equivalent traditional generator shelling out to
+execute a script that calls *basename*(1):
+
+```
+%__foo_provides() %{basename:%{1}}
+```
+
+Added: 4.16.0
+
+## Multifile protocol
+
+Generators may optionally support an enhanced mode where all matching files are
"a mode" (because there are several modes) but "the multifile mode" :smile:
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#discussion_r2371605487
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3957/review/3256900426 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250923/d98acd17/attachment.htm>
More information about the Rpm-maint
mailing list