[Rpm-maint] [rpm-software-management/rpm] RFE: support -g(lobal) and -e(xpand) options to %define (Issue #4163)

Panu Matilainen notifications at github.com
Thu Mar 26 07:01:51 UTC 2026


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

There's some technical overlap in this area of course - eg we have RPMMACRO_LITERAL as a flag in the API, predating the modifier syntax. So the question is whether to mirror all modifiers to API flags (and perhaps %define options) or just some - we can't really remove existing flags.

For some reason literal as an API flag / %define option doesn't bother me at all, and ditto for the eventual read-only flag. But one-shot seems wrong. Hmm. So okay, read-only is not an expansion time item at all, but could be considered "use-time" in a broad sense (you have to look up the macro to define a new one). Dunno 😄 

Thinking about this also made me realize the modifiers are not visible anywhere, I'll need to update the macro dump code to include that.

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

Message ID: <rpm-software-management/rpm/issues/4163/4132189624 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260326/2f9d7d75/attachment-0001.htm>


More information about the Rpm-maint mailing list