[Rpm-maint] [rpm-software-management/rpm] Make %{buildsubdir} usable without being a side effect of %setup (PR #1925)
Florian Festi
notifications at github.com
Thu Feb 17 18:33:41 UTC 2022
So there is the need to handle the whole builddir situation better. Relying on %setup to define buildsubdir is not ideal. Actually the build should be in its own directory even before calling %setup.
Current idea is creating an additional directory and attaching its name to %builddir. This would allow to set %buildsubdir to "." at the start of %prep. The behaviour of setup can then still be changed to what ever seems best. There is an argument to be made (as it is in #551) that the first insatnce of %setup should actually set %buildsubdir.
[409d602](https://github.com/rpm-software-management/rpm/pull/1925/commits/409d60244fe9bfd04104907c2fb189f5c9698a9a) allows to keep the current behavior while getting rid of the arcane internals of %setup.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1925#issuecomment-1043282763
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1925/c1043282763 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220217/291c0212/attachment.html>
More information about the Rpm-maint
mailing list