[Rpm-maint] [rpm-software-management/rpm] Add a man page for rpm macro processor (PR #3781)
Panu Matilainen
notifications at github.com
Mon Jun 16 06:59:17 UTC 2025
@pmatilai commented on this pull request.
> +RPM has a powerful built-in macro processor. The primary uses of macros
+are configuration and other utility functions for RPM itself,
+and as a packaging aid in spec files.
+
+In addition to simple text substitution, the macro processor supports
+the following facilities:
+- function-like parametric macros with options and arguments processing
+ and locally scoped automatic and user-defined macros
+- various built-in primitives for string processing and OS interaction
+- shell expansion
+- expression expansion
+- embedded Lua expansion
+
+The macro definition syntax is:
+
+ _NAME_[([_OPTIONS_])] _BODY_
... yep, separating the two makes a whole lot more sense. Pushed a fixup to address this throughout, having the parametric macro definition in the PARAMETRIC MACROS section makes much more sense.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3781#discussion_r2149184056
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3781/review/2930848850 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250615/96efaee4/attachment.htm>
More information about the Rpm-maint
mailing list