[Rpm-maint] [rpm-software-management/rpm] RFE: optional one-shot/cached macro expansion (#1155)
Michael Schroeder
notifications at github.com
Wed Mar 25 12:07:45 UTC 2026
mlschroe left a comment (rpm-software-management/rpm#1155)
So `mymacro<o>` would expand on first use, cache the result, and immediately expand again? I find that a bit weird. I prefer an implicit `<l>`.
Regarding %global/-e and <o>: I think it should expand at definition time and mark the result as oneshot so that it caches the second expansion at macro use time.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1155#issuecomment-4126064827
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/1155/4126064827 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260325/5e2a45c4/attachment.htm>
More information about the Rpm-maint
mailing list