[Rpm-maint] [rpm-software-management/rpm] Add a man page for rpm macro processor (PR #3781)

Michal Domonkos notifications at github.com
Fri Jun 13 14:31:36 UTC 2025


@dmnks commented on this pull request.



> +The most powerful of the macro expansion methods is using RPM's embedded Lua
+interpreter:
+
+*%{lua:*_LUA-CODE_*}*
+	Execute _LUA-CODE_ using RPM's embedded Lua interpeter, expanding
+	to the code's *print()*'ed output.
+
+See *rpm-lua*(7) for the details.
+
+# PARAMETRIC MACROS
+Parametric macros are a powerful mechanism that allows building function-like
+utility macros with option processing and accepting a variable number of
+arguments, much like common shell tools.
+
+If present, the _OPTIONS_ (i.e. the string between parentheses) are passed
+exactly as is to to *getopt*(3) for argc/argv processing at the beginning of

to

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

Message ID: <rpm-software-management/rpm/pull/3781/review/2925046330 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250613/6f70a11e/attachment-0001.htm>


More information about the Rpm-maint mailing list