Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: add macros used during a build to SRPM header #466

Closed
n3npq opened this issue Jul 14, 2018 · 0 comments
Closed

RFE: add macros used during a build to SRPM header #466

n3npq opened this issue Jul 14, 2018 · 0 comments

Comments

@n3npq
Copy link
Contributor

n3npq commented Jul 14, 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.

@n3npq n3npq closed this as completed Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant