Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xsnow for openSUSE:Factory checked in at 2022-02-02 22:41:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xsnow (Old) and /work/SRC/openSUSE:Factory/.xsnow.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xsnow" Wed Feb 2 22:41:59 2022 rev:3 rq:950784 version:3.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/xsnow/xsnow.changes 2021-12-22 20:19:07.151876652 +0100 +++ /work/SRC/openSUSE:Factory/.xsnow.new.1898/xsnow.changes 2022-02-02 22:43:00.706881941 +0100 @@ -1,0 +2,6 @@ +Wed Feb 2 07:07:37 UTC 2022 - Bernhard Wiedemann <[email protected]> + +- Add reproducible.patch to override build date (boo#1047218) +- disable selfrep to avoid embedding a non-deterministic tarball + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xsnow.spec ++++++ --- /var/tmp/diff_new_pack.vp5RW8/_old 2022-02-02 22:43:01.266878145 +0100 +++ /var/tmp/diff_new_pack.vp5RW8/_new 2022-02-02 22:43:01.274878091 +0100 @@ -28,6 +28,8 @@ Patch0: xsnow-desktop_file.patch # PATCH-FIX-OPENSUSE xsnow-bindir.patch -- Install in /usr/bin instead /usr/games Patch1: xsnow-bindir.patch +# PATCH-FIX-UPSTREAM https://sourceforge.net/p/xsnow/tickets/10/ +Patch2: reproducible.patch BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: xorg-x11-devel @@ -48,7 +50,7 @@ %autopatch -p1 %build -%configure +%configure --disable-selfrep %make_build %install ++++++ reproducible.patch ++++++ https://sourceforge.net/p/xsnow/tickets/10/ https://github.com/gitmirrors2/xsnow/commits/openSUSE commit f955b511e3a707cb3251fd5e7053b997ce7526b1 Author: Bernhard M. Wiedemann <[email protected]> Date: Wed Feb 2 07:47:20 2022 +0100 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 is designed to work with various date implementations. Also use UTC to be independent of timezone. diff --git a/xsnow/configure b/xsnow/configure index c969108..1f507b9 100755 --- a/configure +++ b/configure @@ -3551,7 +3551,9 @@ fi -DATE=`date +"%Y-%m-%d"` +DATE_FMT="+%Y-%m-%d" +SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-`date +%s`}" +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"` # Checks for programs. diff --git a/xsnow/configure.ac b/xsnow/configure.ac index d08be38..b2d6c23 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,9 @@ AC_ARG_ENABLE(selfrep, [AS_HELP_STRING([--enable-selfrep],[Build with self repli AM_CONDITIONAL([MAKESELFREP],[test "x$enable_selfrep" = "xyes"]) AC_SUBST([PACKAGE_VERSION]) -DATE=`date +"%Y-%m-%d"` +DATE_FMT="+%Y-%m-%d" +SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-`date +%s`}" +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"` AC_SUBST([DATE]) # Checks for programs.
