Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package librcc for openSUSE:Factory checked in at 2024-07-19 15:26:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librcc (Old) and /work/SRC/openSUSE:Factory/.librcc.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "librcc" Fri Jul 19 15:26:37 2024 rev:14 rq:1188305 version:0.2.13 Changes: -------- --- /work/SRC/openSUSE:Factory/librcc/librcc.changes 2023-01-08 21:25:32.311246752 +0100 +++ /work/SRC/openSUSE:Factory/.librcc.new.17339/librcc.changes 2024-07-19 15:26:48.285916098 +0200 @@ -1,0 +2,5 @@ +Wed Jul 17 14:01:38 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com> + +- Add reproducible.patch to override build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch BETA DEBUG BEGIN: New: - Add reproducible.patch to override build date (boo#1047218) BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librcc.spec ++++++ --- /var/tmp/diff_new_pack.ISLVDp/_old 2024-07-19 15:26:48.825937584 +0200 +++ /var/tmp/diff_new_pack.ISLVDp/_new 2024-07-19 15:26:48.825937584 +0200 @@ -26,6 +26,7 @@ URL: https://rusxmms.sourceforge.net Source: https://github.com/RusXMMS/librcc/archive/refs/tags/librcc-%{version}.tar.gz Source1: baselibs.conf +Patch0: https://github.com/RusXMMS/librcc/pull/5.patch#/reproducible.patch BuildRequires: aspell-devel BuildRequires: automake BuildRequires: db-devel @@ -70,7 +71,7 @@ Runtime environment for the LibRCC package. %prep -%setup -q -n librcc-librcc-%{version} +%autosetup -p1 -n librcc-librcc-%{version} %build ./autogen.sh ++++++ reproducible.patch ++++++ From 7278124f0f3f7b894f7649d0cdb433c5a6f6f54a Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedemann@suse.de> Date: Fri, 20 Jan 2023 11:42:14 +0100 Subject: [PATCH] Allow to override build date with SOURCE_DATE_EPOCH in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable. This date call works with various implementations of date. Also use UTC to be independent of timezone. This patch was done while working on reproducible builds for openSUSE. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9248faa..451a1c9 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,9 @@ AC_SUBST(LIBRCC_VERSION_INFO) LIBRCC_CVS=`cat VERSION | sed -e s/.*CVS.*/CVS/` if test "x$LIBRCC_CVS" = "xCVS"; then LIBRCC_CVS=1 -LIBRCC_CVS_DATE=`date +%y%m%d.%H` +DATE_FMT="+%y%m%d.%H" +SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}" +LIBRCC_CVS_DATE=$(date -u -d "@$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u "$DATE_FMT") else LIBRCC_CVS=0 LIBRCC_CVS_DATE=0