[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)

Panu Matilainen notifications at github.com
Thu Sep 25 09:50:29 UTC 2025


@pmatilai commented on this pull request.



> +exported to generators, on a subpackage basis:
+
+*%{name}*++
+*%{epoch}*++
+*%{version}*++
+*%{release}*
+
+Added: 4.15.0
+
+## Parametric macros
+
+If a generator is declared as a parametric macro, the macro itself is called for
+dependency generation, with the filename as its first argument (*%1*). The macro
+expansion itself is considered as the generated dependencies, one per line.
+
+This allows for writing efficient and powerful generators, especially when

This sentence sounds like a sales pitch :smile: We need to communicate the reasons why one would want to use parametric generators over the other options, but I'd ditch at least the "powerful" part.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#pullrequestreview-3266810885
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3957/review/3266810885 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250925/1d7e6c83/attachment.htm>


More information about the Rpm-maint mailing list