Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cloudflared for openSUSE:Factory checked in at 2024-07-22 17:15:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cloudflared (Old) and /work/SRC/openSUSE:Factory/.cloudflared.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cloudflared" Mon Jul 22 17:15:22 2024 rev:3 rq:1188555 version:2024.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cloudflared/cloudflared.changes 2024-07-16 22:04:12.689781973 +0200 +++ /work/SRC/openSUSE:Factory/.cloudflared.new.17339/cloudflared.changes 2024-07-22 17:15:37.591571112 +0200 @@ -1,0 +2,5 @@ +Wed Jul 17 10:30:08 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com> + +- Add reproducible.patch to not include the build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch BETA DEBUG BEGIN: New: - Add reproducible.patch to not include the build date (boo#1047218) BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cloudflared.spec ++++++ --- /var/tmp/diff_new_pack.c01nxn/_old 2024-07-22 17:15:40.363682585 +0200 +++ /var/tmp/diff_new_pack.c01nxn/_new 2024-07-22 17:15:40.367682746 +0200 @@ -29,6 +29,7 @@ Patch0: 001-skip-test.patch # PATCH-FIX-OPENSUSE 002-use-pie.patch hillwood@opensuse.org Patch1: 002-use-pie.patch +Patch2: reproducible.patch BuildRequires: fdupes BuildRequires: git-core BuildRequires: golang-packaging ++++++ reproducible.patch ++++++ From b2d93673dacbb9426467853d79c929b8a580301e Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedemann@suse.de> Date: Mon, 8 Jul 2024 10:24:19 +0200 Subject: [PATCH] Use ChangeLog date instead of build date 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 only works with GNU date and BSD date. This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1961f03d9c0..a63c800847c 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ else DEB_PACKAGE_NAME := $(BINARY_NAME) endif -DATE := $(shell date -u '+%Y-%m-%d-%H%M UTC') +DATE := $(shell date -u -r CHANGES.md '+%Y-%m-%d-%H%M UTC') VERSION_FLAGS := -X "main.Version=$(VERSION)" -X "main.BuildTime=$(DATE)" ifdef PACKAGE_MANAGER VERSION_FLAGS := $(VERSION_FLAGS) -X "github.com/cloudflare/cloudflared/cmd/cloudflared/updater.BuiltForPackageManager=$(PACKAGE_MANAGER)"