[Rpm-maint] [rpm-software-management/rpm] RFE: BuildRequires generator (#104)
Florian Festi
notifications at github.com
Fri Dec 2 13:57:02 UTC 2016
There clearly is some chicken - egg problem here as one will likely need some tools to determine the dependencies for the build. So there needs to be a multi step process:
Getting the BuildRequires that are needed to determine the dynamic Buildrequires
Generating the SRPM with all the BuildRequires
Get all BuildRequires.
Building the Binary RPMs.
This is clearly not possible with most of the existing build systems. So changing this will require changes to basically all of them. We would probably need to add something like BuildRequires(srpm) and add a new section in the spec file that can be used to create the dynamic BuildRequires.
Another question is on what files this BuildDeps generator/section should operate. Obviously executing %prep before hand would be very helpful for many use cases.
The next question is whether the Dependencies should be generated automatically - by scripts provided by rpm and run in the background or if packagers would need to write their own section generating the dependencies - may be by executing some rpm provided scripts.
--
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-264459206
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20161202/ab679f40/attachment.html>
More information about the Rpm-maint
mailing list