[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 12:34:45 UTC 2025
@dmnks commented on this pull request.
> +%__NAME_flags
+%__NAME_exclude_flags
+```
+
+Currently, the following flags are supported (Added: 4.9.1):
+- *exeonly*: require executable bit set
+- *magic_and_path*: require both magic and path to match
+
+# GENERATORS
+
+A generator is an executable that reads filename(s) from stdin and writes
+dependencies of a single _type_ to stdout, one per line. Unlike the path REs,
+generators receive filenames with the *%buildroot* prefix since they typically
+need to look at the actual file contents on disk. This simple protocol allows
+for the generators to be implemented in any preferred language and enables them
+to use language specific libraries or tools.
Changed my mind - simply dropping the "justification" part should be enough. That generators can be written in any language follows implicitly from the fact that they're executables.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#discussion_r2372173325
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3957/review/3257781700 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250923/f69585eb/attachment.htm>
More information about the Rpm-maint
mailing list