[Rpm-maint] [rpm-software-management/rpm] Add macro '%-x**' containing all occurrences of the flag '-x' (PR #2449)
Panu Matilainen
notifications at github.com
Mon Jan 22 12:25:28 UTC 2024
Actually, there is a kind of a way to access the values from Lua even now.
%-f* macro has the last definition of the macro. If you pop (ie undefine) it, you get the one underneath. And with that, you can walk all the values. It wont work on normal macros as "%undefine -f*" is not permitted, but rpm.undefine() in Lua bypasses that check.
Not that this is something I'd recommend for use.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2449#issuecomment-1903898388
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2449/c1903898388 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240122/dd89bbc5/attachment.html>
More information about the Rpm-maint
mailing list