If you wanted to fix %autosetup for multiple archives you’d need to change it
to behave the same way as %forgesetup/%forge_prep:
1. move things you’re used to pass on the macro CLI to control variables
attached to a specific source file, using naming tricks to implement the
attachment
2. make the bettersetup atom process a single archive
3. loop over archives that need processing, calling one bettersetup atom a
time, un-stacking the control variables that correspond to the archive being
processed
A single multiplexing call is quite hard to achieve in generic software and
completely above the capabilities of the current rpm argument parser.
(the %auto_ framework I posted contains all the basic building blocks to create
such looping macros, but you still need to assemble the building blocks in your
own bettersetup implementation)
--
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/1204#issuecomment-654274451
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint