Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package armagetron for openSUSE:Factory 
checked in at 2024-07-29 21:53:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/armagetron (Old)
 and      /work/SRC/openSUSE:Factory/.armagetron.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "armagetron"

Mon Jul 29 21:53:39 2024 rev:37 rq:1190272 version:0.2.9.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/armagetron/armagetron.changes    2024-04-10 
17:50:00.383625708 +0200
+++ /work/SRC/openSUSE:Factory/.armagetron.new.1882/armagetron.changes  
2024-07-29 21:54:50.206669846 +0200
@@ -1,0 +2,5 @@
+Wed Jul 17 13:50:11 UTC 2024 - Bernhard Wiedemann <[email protected]>
+
+- 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:
------------------
++++++ armagetron.spec ++++++
--- /var/tmp/diff_new_pack.m4FhQM/_old  2024-07-29 21:54:50.710690256 +0200
+++ /var/tmp/diff_new_pack.m4FhQM/_new  2024-07-29 21:54:50.710690256 +0200
@@ -27,6 +27,8 @@
 URL:            https://www.armagetronad.org
 Source0:        
https://launchpad.net/%{src_name}/%{series}/%{version}/+download/%{src_name}-%{version}.tbz
 Patch0:         armagetron-desktop-files-installdir.patch
+# PATCH-FIX-UPSTREAM: 
https://gitlab.com/armagetronad/armagetronad/-/merge_requests/162
+Patch1:         reproducible.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libSDL_image-devel
 BuildRequires:  libpng-devel


++++++ reproducible.patch ++++++
>From bfdf023b82aafa258580251f4869784eb86f5f6e Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Sat, 20 Apr 2024 08:00:54 +0200
Subject: [PATCH] Allow to override build date with SOURCE_DATE_EPOCH

to make release 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.

The previous code was added in commit b940783d0a38246fbf7326e9ccf625fd185c062f
by Manuel Moos (@zmanuel)
but only helped when running bootstrap.sh with a .git dir.
However, release tarballs don't have a .git dir.

This patch was done while working on reproducible builds for openSUSE.

diff --git a/configure.ac b/configure.ac
index acf8568e4..70e53c6c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,7 @@ version=$VERSION
 AC_SUBST(version)
 
 source_date_epoch=SOURCE_DATE_EPOCH
-test ${source_date_epoch} = SOURCE_DATE_EPOCH && source_date_epoch=`date +%s`
+test ${source_date_epoch} = SOURCE_DATE_EPOCH && 
source_date_epoch=${SOURCE_DATE_EPOCH:-`date +%s`}
 AC_SUBST(source_date_epoch)
 
 # determine date, following the epoch time if we can

Reply via email to