Hello community,
here is the log from the commit of package gengetopt for openSUSE:Factory checked in at 2019-01-05 14:40:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gengetopt (Old)
and /work/SRC/openSUSE:Factory/.gengetopt.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gengetopt"
Sat Jan 5 14:40:05 2019 rev:16 rq:661741 version:2.22.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/gengetopt/gengetopt.changes 2018-11-18 23:22:27.866188802 +0100
+++ /work/SRC/openSUSE:Factory/.gengetopt.new.28833/gengetopt.changes 2019-01-05 14:40:29.432575375 +0100
@@ -1,0 +2,6 @@
+Fri Dec 28 09:07:29 UTC 2018 - Bernhard Wiedemann
+
+- Add reproducible.patch to make package build
+ reproducible again (boo#1047218)
+
+-------------------------------------------------------------------
New:
----
reproducible.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gengetopt.spec ++++++
--- /var/tmp/diff_new_pack.TFmpeB/_old 2019-01-05 14:40:30.392574560 +0100
+++ /var/tmp/diff_new_pack.TFmpeB/_new 2019-01-05 14:40:30.396574556 +0100
@@ -28,6 +28,8 @@
Source2: %{name}.keyring
# PATCH-FIX-UPSTREAM sbrabec@suse.cz savannah54996 -- Fix glibc license. https://savannah.gnu.org/bugs/?54996
Patch1: gengetopt-glibc-license.patch
+# PATCH-FIX-UPSTREAM bmwiedemann boo#1047218 https://savannah.gnu.org/bugs/index.php?55311
+Patch2: reproducible.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-c++
@@ -46,6 +48,7 @@
%prep
%setup -q
%patch1 -p1
+%patch2 -p1
%build
%configure
++++++ reproducible.patch ++++++
https://savannah.gnu.org/bugs/index.php?55311
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2018-12-28
Use $SOURCE_DATE_EPOCH in mdate-sh
When patches touch input files, output files will contain the build date
making package build unreproducible.
See https://reproducible-builds.org/ for why this matters.
Index: gengetopt-2.22.6/build-aux/mdate-sh
===================================================================
--- gengetopt-2.22.6.orig/build-aux/mdate-sh
+++ gengetopt-2.22.6/build-aux/mdate-sh
@@ -75,6 +75,10 @@ export LC_ALL
LC_TIME=C
export LC_TIME
+if [ -n "$SOURCE_DATE_EPOCH" ] ; then
+ exec date -d "@$SOURCE_DATE_EPOCH" -u "+%d %B %Y"
+fi
+
# GNU ls changes its time format in response to the TIME_STYLE
# variable. Since we cannot assume `unset' works, revert this
# variable to its documented default.