[Rpm-maint] [rpm-software-management/rpm] RFE: allow overriding buildtime and hostname via environment variable (Issue #2603)

Zbigniew Jędrzejewski-Szmek notifications at github.com
Fri Aug 4 10:42:06 UTC 2023


`rpm` embeds the build time and host into output headers. This is very useful to figure out when and where the build was done. But when trying to trying to reproduce an earlier rpm build, we want to override those to the value that was used in the previous build.

Please add something like `RPM_BUILDTIME` and `RPM_BUILDHOST`. When those variables would be set, rpm should use them instead of the actual values. Prior art exists with `SOURCE_DATA_EPOCH`.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2603
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2603 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230804/b03855e3/attachment-0001.html>


More information about the Rpm-maint mailing list