All I can say offhand is that we would certainly consider such a thing. Some
initial thoughts:
- it raises the question as to which extent we should be wrapping Lua
functionality in native macro level helpers such as this (eg this seems quite
obviously useful, but where to draw the line)
- could we instead make the Lua functionality more easily accessible in general
(a general theme in 4.17, work which got sadly interrupted by other stuff)
- you'd probably want to use `arg[n]` instead of `rpm.expand('%{?n})` for
better control - for one, re-expanding the arguments tends to lead to %-escape
hell as the arguments are already expanded once
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1764#issuecomment-907009921
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint