[Rpm-maint] [rpm-software-management/rpm] RFE: optional one-shot/cached macro expansion (#1155)
Panu Matilainen
notifications at github.com
Mon Apr 20 06:18:42 UTC 2026
pmatilai left a comment (rpm-software-management/rpm#1155)
We can't allow expand-on-define in the modifier syntax because reading macro files must not execute code.
While it would be possible to make the literalness of the one-shot expansion optional, the *default* needs to be literal because that's the only sane thing, see the last few comments. The %global behavior is a weird historical artifact that continues to confuse packagers to this day, new things should do what makes most sense to their users.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1155#issuecomment-4278305064
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/1155/4278305064 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260419/b8413347/attachment.htm>
More information about the Rpm-maint
mailing list