[Rpm-maint] [rpm-software-management/rpm] Dynamic Build Dependencies (#593)
Florian Festi
notifications at github.com
Fri Apr 5 15:00:40 UTC 2019
Ok, here is the next iteration.
rpmbuild now exits with 11 in case of not met dynamic build dependencies that require re-running the build after installing them.
In this case rpmbuild creates a .buildreqs.rpm package which basically is a srpm which includes the dynamic build dependencies as Requires but does not include the sources (expect the spec file). I may remove more things from that package if it gives a significant performance improvement (%changelog being candidate No. One).
Users (including build tools like mock) are expected to install the dependencies of the .buildreqs.rpm and the restart the build. e.g. with rpmbuild --noprep -ba (or -bb). This can go over multiple iterations. Not being able to install a new dependency should be seen as an error, though, and lead for the building attempt to be stopped.
rpmbuild now supports -br -tr -rr for creating an srpm including the dynamic build dependencies. Note that this requires the static build dependencies and also the rebuild loop just as for building a binary package.
--
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/pull/593#issuecomment-480308427
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190405/c40753b6/attachment.html>
More information about the Rpm-maint
mailing list