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

Panu Matilainen notifications at github.com
Thu Sep 27 12:07:30 UTC 2018


>  Just provide in rpm a %setup alternative that just does what you propose (unpack one archive, without esotheric chaining rules to avoid writing one more extraction command, and with simple ways to query or set buildsubdir that rpm won't stomp on later), and you'll see %setup use and misuse drop quickly.

@nim-nim, but isn't that just about exactly what %setup by default does? Calling it once with no fancy arguments will unpack the first source and define %_buildsubdir, and from there on you can do whatever you want with the rest. Or call it just to create a directory of your choosing and do the rest manually. 

Like said rpm could do better there, and having different semantics for %_buildsubdir is trivial, but if calling %setup multiple times hurts and makes things unnecessarily complicated, then don't!

-- 
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-425066078
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180927/719dff4b/attachment.html>


More information about the Rpm-maint mailing list