[Rpm-maint] [rpm-software-management/rpm] RFE: add macros used during a build to SRPM header (#466)
Jeff Johnson
notifications at github.com
Sat Jul 14 17:59:52 UTC 2018
RPM was designed to encapsulate elements necessary for a build into a package reproducibly.
One element that is not encapsulated is the rpm configuration in place during a build. As common operations are refactored out of spec files into configuration, it becomes increasingly important to supply the configuration macros instantiated in order to identify how to build software.
RPM already macros macros used during a build. All that is needed is a loop over all macros (which are already sorted for bsearch(3) retrieval) filtering out unused macros and adding "KEY VALUE" strings in an argv array to be added to a SRPM header.
--
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/466
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180714/6b9687bb/attachment-0001.html>
More information about the Rpm-maint
mailing list