[Rpm-maint] [rpm-software-management/rpm] RFE: BuildRequires generator (#104)

Florian Festi notifications at github.com
Thu Oct 25 12:04:06 UTC 2018


OK, so:
Add support a %buildrequires script that's executed after the %prep during the binary build. If it exists it is executed and its stdout read in as BuildDependencies. These are then checked. Those not found (or all of them) are printed out and written to a file and the build is terminated with a special exit code and the message: "Please install these additional build dependencies. They can be found in $BUILDROOT/__rpm_build_requires".
Build systems would react with installing the new dependencies (may be caching the list somewhere) and restart the build afterwards - may be even with some short circuit param that uses the result of %prep and %buildrequires.

The rpmbuild side of things can probably be done quite easily. No idea about the build system stuff.

-- 
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/104#issuecomment-433024163
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181025/230f39a7/attachment.html>


More information about the Rpm-maint mailing list