-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using the standard methods that make rpmbuild reproducible. The idea here is to use the SOURCE_DATE_EPOCH environment to set build times, and the _buildhost rpm macro to freeze the build host. We set the following macros to 1 and enable the behavior described below: 1. source_date_epoch_from_changelog: SOURCE_DATE_EPOCH is set by rpmbuild to match the the latest changelog entry in the spec file. Note that if there's no changelog SOURCE_DATE_EPOCH is not set. It's upto the users to make sure there's a changelog entry. 2. use_source_date_epoch_as_buildtime: This sets the build time as per thr variable. 3. clamp_mtime_to_source_date_epoch: All file mtimes are clamped to this value. References: https://rpm-software-management.github.io/rpm/manual/buildprocess.html#Reproducability https://fedoraproject.org/wiki/Changes/ReproducibleBuildsClampMtimes rpm-software-management/mock#692 Fixes: BUG925340
- Loading branch information
1 parent
dfa8940
commit 23df709
Showing
7 changed files
with
106 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,3 +51,6 @@ information base contents, and is standardized in RFC6396. Programs like Quagga | |
%{python3_sitelib}/mrtparse/params.py* | ||
%{python3_sitelib}/mrtparse/__pycache__/*cpython* | ||
|
||
%changelog | ||
* Fri Mar 15 2024 Arun Ajith S <[email protected]> | ||
- Dummy changelog for tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters