Bug 2149310

Summary: Reproducible builds: Clamp build mtimes to $SOURCE_DATE_EPOCH
Product: [Fedora] Fedora Reporter: Ben Cotton <bcotton>
Component: Changes TrackingAssignee: Miro Hrončok <mhroncok>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bcotton, mhroncok, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-04 07:53:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ben Cotton 2022-11-29 14:42:32 UTC
This is a tracking bug for Change: Reproducible builds: Clamp build mtimes to $SOURCE_DATE_EPOCH
For more details, see: https://fedoraproject.org/wiki/Changes/ReproducibleBuildsClampMtimes

The %clamp_mtime_to_source_date_epoch RPM macro will be set to 1. When an RPM package is built, mtimes of packaged files will be clamped to $SOURCE_DATE_EPOCH which is already set to the date of the latest %changelog entry. As a result, more RPM packages will be reproducible: The actual modification time of files that are e.g. modified in the %prep section or built in the %build section will not be reflected in the resulting RPM packages. Files in RPM packages will have mtimes that are independent of the time of the actual build.

If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.

Comment 3 Fedora Update System 2023-01-05 14:18:13 UTC
FEDORA-2023-58795ea83c has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-58795ea83c

Comment 4 Fedora Update System 2023-01-05 14:38:27 UTC
FEDORA-2023-58795ea83c has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Zbigniew Jędrzejewski-Szmek 2023-08-04 07:53:48 UTC
This is all done.