[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:52:07 UTC 2025


@dmnks commented on this pull request.



> +	Load an *rpm-macrofile*(5) file. (Added: 4.12.0)
+
+	Example:
+	```
+	%{load:/some/dir/macros.foo}
+	```
+
+## Macro expansion
+*%{expand:*_BODY_*}*
+	Expand _BODY_ as if it were a macro body. Useful for increased
+	indirection, such as to expand a macro name constructed from
+	two or more macros.
+
+	Example:
+	```
+	*%{expand:%{foo_prefix}%{foo_suffix}}*

Forgotten asterisks

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

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


More information about the Rpm-maint mailing list