Bug 2149310 - Reproducible builds: Clamp build mtimes to $SOURCE_DATE_EPOCH
Summary: Reproducible builds: Clamp build mtimes to $SOURCE_DATE_EPOCH
Alias: None
Product: Fedora
Classification: Fedora
Component: Changes Tracking
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2022-11-29 14:42 UTC by Ben Cotton
Modified: 2023-08-04 07:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-08-04 07:53:48 UTC
Type: ---

Attachments (Terms of Use)

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.

Note You need to log in before you can comment on or make changes to this bug.