[Rpm-maint] [rpm-software-management/rpm] Implement one-shot macro modifier <o> (PR #4169)
Panu Matilainen
notifications at github.com
Mon Apr 20 10:11:41 UTC 2026
@pmatilai commented on this pull request.
> @@ -292,8 +302,11 @@ callee(s).
To define a global macro inside a parametric macro, you _must_ use *%global*
instead of *%define*. Also note that because such a macro may be referring
-to other macros only visible in the current scope, *%global* _expands the
-macro body once at the time of definition_, unless it's a *l*iteral macro.
+to other macros only visible in the current scope, *%global* expands the
+macro body once at the time of definition, unless it's a *l*iteral macro.
+Note that the body of a *o*ne-shot macro defined via *%global* is actually
I'd just leave it alone for now, there are other related changes coming requiring further changes to how this stuff is structured.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4169?email_source=notifications&email_token=ADLPZUYYLRVLJOFU3O346E34WXZV3A5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMJTHEYDOMRZGY2KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS6XA4S7OJSXM2LFO5PW433UNFTGSY3BORUW63TTL5RWY2LDNM#discussion_r3109862400
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4169/review/4139072964 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260420/b26ef241/attachment.htm>
More information about the Rpm-maint
mailing list