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

Panu Matilainen notifications at github.com
Tue Jun 10 10:27:14 UTC 2025


pmatilai left a comment (rpm-software-management/rpm#3781)

> The examples in *BUILT-IN MACROS mix %{name:arg} and %{name arg}. 

Yep. I wanted to demonstrate that as the EXPANSION section says, the syntaxes are now (mostly) interchangeable. But, I agree, it only looks strange and haphazard this way. Maybe they should just use the traditional : notation for builtins, and add a separate note that they can be called with %{foo bar} notation too in recent rpm versions.

> The quote example even uses %name args. I wonder if we want these to be consistent or may be balance the different styles more instead of most being `%{name:arg}.

You mean `%myzip -x % ...` example? That's how you call parametric macros - myzip is not a built-in.

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

Message ID: <rpm-software-management/rpm/pull/3781/c2958567359 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250610/3f10e3f9/attachment.htm>


More information about the Rpm-maint mailing list