[Rpm-maint] [rpm-software-management/rpm] RFE: BuildRequires generator (#104)
Pavel Raiskup
notifications at github.com
Mon Feb 12 08:24:29 UTC 2018
If we had `%build_requires -f <script>` section (to be handled post %prep time),
-- piping out the additional build-requires line-by-line -- I don't see any reason
why RPM should feel blocked to implement this. Likely the SRPM won't be
parseable by older RPMs, likely old build-system won't know how to handle
them, but that's non problem.
So one thing is definition of this feature (done on RPM side), and the second thing
is implementing this feature in build-systems. From the build-system POV, there are
IMO two ways how to handle this (since the new action needs to be done
right after %prep section):
- either split the build into two parts, which is not easily doable in RPM nowadays AFAIK
- execute the %prep twice, first time solely for the purpose of BuildRequiresAction...
I don't think the former is needed at least at the beginning.
To me, I think we only need a volunteer to implement this in RPM (PoC pull request).
--
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-364854150
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180212/0f498464/attachment.html>
More information about the Rpm-maint
mailing list