[Rpm-maint] [rpm-software-management/rpm] Implement support for literal and one-shot macro modifiers (PR #4129)
Panu Matilainen
notifications at github.com
Wed Mar 4 07:18:22 UTC 2026
pmatilai left a comment (rpm-software-management/rpm#4129)
Something that occurred to me yesterday evening: another possible implementation for one-shot would be pushing the literal expansion instead of replacing it. That would make it possible to "reload" a one-shot macro by undefining it once, which seems like something that could come in handy sometimes. It'd also seem kind of cleaner and more in line with the macro system design. It does raise questions wrt read-only macros (#2314) though: either a read-only macro cannot be one-shot (which seems limiting) or we'll need different rules for macro engine internal and external uses, which will have its own issues.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4129#issuecomment-3995751565
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4129/c3995751565 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260303/695b7589/attachment.htm>
More information about the Rpm-maint
mailing list