[Rpm-maint] [rpm-software-management/rpm] Preserve build environment details in source rpm (PR #4108)
Shreenidhi Shedi
notifications at github.com
Fri Feb 6 13:11:45 UTC 2026
Currently rpm build does not store the details of build host while building a package, example: list of installed packages, macros that get enabled during build based on args passed to rpmbuild command and any other info if package maintainers want to embed in rpm and use it at a later point. This can be done by patching spec files further and explicitly adding these info to rpm or src rpm which can be used in further but there is no generic solution to achieve this.
This is particularly helpful while building a kernel live patch like deliverable which usually happens several months or years after a kernel release.
More details at: https://github.com/rpm-software-management/rpm/discussions/4074
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/4108
-- Commit Summary --
* Preserve build environment details in source rpm
-- File Changes --
M build/files.cc (19)
M build/pack.cc (169)
M build/rpmbuild_internal.hh (2)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/4108.patch
https://github.com/rpm-software-management/rpm/pull/4108.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4108
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4108 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260206/b43334bd/attachment.htm>
More information about the Rpm-maint
mailing list