[Rpm-maint] [rpm-software-management/rpm] RFE: optional one-shot/cached macro expansion (#1155)
Michal Domonkos
notifications at github.com
Mon Apr 20 08:14:40 UTC 2026
dmnks left a comment (rpm-software-management/rpm#1155)
> Basically: there's nothing wrong with declaring a one-shot macro in the global scope. That's where they normally are, the only exception is inside parametric macros. It's the one-shot macro getting double-expanded with %global that's just ... weird. It becomes rather apparent when trying to explain it in the docs 🤪
Indeed, "one-shot" somehow makes you think of the (peculiar) `%global` expansion semantics while being a separate thing, which is confusing for sure.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1155#issuecomment-4278934694
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/1155/4278934694 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260420/12e5a6b4/attachment.htm>
More information about the Rpm-maint
mailing list