[Rpm-maint] [rpm-software-management/rpm] RFE: set builsubdir to the *first* extracted archive not the last one (#551)

Jeff Johnson notifications at github.com
Sun Sep 23 16:12:42 UTC 2018


The %setup macro-in-c was never intended to be used multiple times: see the shell code generated, and look at the needless unnecessary commands generated if/when %setup is used multiple times.

You are likely better off (for whatever you are attempting) using %setup once to set %_buildsubdir, or even not using %setup at all, and writing the simple shell commands to unpack archives however you wish, rather than complaining about the (known since last century) Byzantine behavior of %setup

-- 
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/551#issuecomment-423827616
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180923/367f7744/attachment-0001.html>


More information about the Rpm-maint mailing list