[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)
Panu Matilainen
notifications at github.com
Mon Sep 29 09:08:32 UTC 2025
@pmatilai commented on this pull request.
> +*%\_local_file_attrs* _NAME_[*:*_NAME_ ...]
+
+_FLAG_ can be one of *exeonly* and *magic_and_path*.
+
+## Generators
+*%\_\_*_NAME_*_*_TYPE_ _BODY_++
+*%\_\_*_NAME_*_*_TYPE_*()* _BODY_
+
+_TYPE_ can be one of *conflicts*, *enhances*, *obsoletes*, *orderwithrequires*,
+*provides*, *recommends*, *requires*, *suggests* and *supplements*.
+
+## Generator tunables
+*%\_\_*_NAME_*_protocol* {*simple*|*multifile*}++
+*%\_\_*_NAME_*_*_TYPE_*_opts* _BODY_++
+*%\_\_*_TYPE_*_exclude* _REGEX_++
+*%\_\_*_TYPE_*_exclude_from* _REGEX_
Just noticed - the _TYPE_exclude[_from] macros are not generator tunables and MUST NOT be used in generators because they're global for that _TYPE_.
The synopsis subsections don't match what's used in the text later on, these and _local_file_attrs should be "## Per package tunables" instead I think.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#pullrequestreview-3278684105
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3957/review/3278684105 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250929/2433882b/attachment.htm>
More information about the Rpm-maint
mailing list