I think this is an excellent idea, but I'm not sure of the semantics of what
happens when something is redefined in another lua file.
For example, if `/usr/lib/rpm/lua.d/foo.lua` ships function `do_foo` and
`/usr/lib/rpm/<RPMCANONVENDOR>/lua.d/bar.lua` (in Fedora's case, the
`RPMCANONVENDOR` is `redhat`) ships a function `do_foo` and it's initialized
later, what happens?
In regular RPM macros, the former is clobbered by the latter. If there's a
different behavior, things get really tricky very quickly.
--
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/issues/321#issuecomment-331710715
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint