[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)
Michal Domonkos
notifications at github.com
Tue Sep 23 08:44:50 UTC 2025
@dmnks commented on this pull request.
> +```
+%__foo_provides() %{basename:%{1}}
+```
+
+Added: 4.16.0
+
+## Multifile protocol
+
+Generators may optionally support an enhanced mode where all matching files are
+passed to the generator at once, and the generator is expected to print the
+processed filename prepended with *;* before printing the dependencies of that
+file. Files with no dependencies may be omitted.
+
+This is several orders of magnitude faster than the traditional behavior where a
+generator is launched separately for each and every file with the matching file
+attribute. To enable multifile mode for a generator, define the following macro:
Lol... so much controversy around a silly article. OTOH, it's a common-enough occurrence, the use of "mode", so it was worth the discussion :smile:
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#discussion_r2371601760
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3957/review/3256894751 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250923/2a66eae7/attachment-0001.htm>
More information about the Rpm-maint
mailing list