[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)
Michal Domonkos
notifications at github.com
Fri Sep 26 07:28:52 UTC 2025
@dmnks 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
Lol, indeed. I'll move to the original piece of text here, which was:
While RPM's own macro primitives are limited, using %{lua} enables the writing of complicated, macro-only generators.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#discussion_r2381161454
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3957/review/3270562498 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250926/2dc2795c/attachment.htm>
More information about the Rpm-maint
mailing list