[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)
Michal Domonkos
notifications at github.com
Mon Sep 22 08:50:26 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.
Ack, this is indeed an interesting observation (much like the one in the intro paragraph about the file attributes "justification"). It does make sense, though. Man pages shall be written in a uniform style, one that simply *states* things, as opposed to explain them, I guess.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#discussion_r2367168832
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3957/review/3251236840 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250922/0ef3b6dd/attachment.htm>
More information about the Rpm-maint
mailing list