[Rpm-maint] [rpm-software-management/rpm] Add support for setting the build time and clamping to the build time (PR #2944)
Panu Matilainen
notifications at github.com
Wed Apr 3 07:10:36 UTC 2024
@pmatilai commented on this pull request.
> @@ -240,10 +240,12 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
# Is ignored when SOURCE_DATE_EPOCH is not set.
%use_source_date_epoch_as_buildtime 0
-# If true, make sure that timestamps in built rpms
-# are not later than the value of SOURCE_DATE_EPOCH.
-# Is ignored when SOURCE_DATE_EPOCH is not set.
-%clamp_mtime_to_source_date_epoch 0
+# Defines file timestamp handling in built rpms. Possible values
+# are "clamp_to_buildtime" and "clamp_to_source_date_epoch",
+# which makes sure the the file timestamps are not later than
+# the build time of the package or the value of
+# SOURCE_DATE_EPOCH, respectively.
+#%build_mtime_policy
This new stuff should also be documented in docs/manual/buildprocess.md
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2944#pullrequestreview-1975739792
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2944/review/1975739792 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240403/270c8e9c/attachment-0001.html>
More information about the Rpm-maint
mailing list