Hello community, here is the log from the commit of package xdotool for openSUSE:Factory checked in at 2017-07-25 11:40:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xdotool (Old) and /work/SRC/openSUSE:Factory/.xdotool.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdotool" Tue Jul 25 11:40:13 2017 rev:9 rq:512183 version:2.2012+git.20130201.65cb0b1 Changes: -------- --- /work/SRC/openSUSE:Factory/xdotool/xdotool.changes 2014-11-10 17:28:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xdotool.new/xdotool.changes 2017-07-25 11:41:04.658570368 +0200 @@ -1,0 +2,6 @@ +Thu Jul 20 19:15:03 UTC 2017 - [email protected] + +- Add xdotool-2.2012-reproducible.patch to override build date + to fix build-compare (boo#1047218) + +------------------------------------------------------------------- New: ---- xdotool-2.2012-reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdotool.spec ++++++ --- /var/tmp/diff_new_pack.AOqXiZ/_old 2017-07-25 11:41:06.618293686 +0200 +++ /var/tmp/diff_new_pack.AOqXiZ/_new 2017-07-25 11:41:06.622293122 +0200 @@ -1,7 +1,7 @@ # # spec file for package xdotool # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Group: System/X11/Utilities #Source: http://semicomplete.googlecode.com/files/xdotool-%{version}.tar.gz Source: xdotool-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/jordansissel/xdotool/pull/159 +Patch0: xdotool-2.2012-reproducible.patch Url: http://www.semicomplete.com/projects/xdotool/ BuildRequires: gcc-c++ BuildRequires: make @@ -52,6 +54,7 @@ %prep %setup -q +%patch0 -p1 %build # Fix file permissions ++++++ xdotool-2.2012-reproducible.patch ++++++ >From e4010e3b9d259004b56ef08ee8517d2db988f6a2 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <[email protected]> Date: Tue, 17 Jan 2017 15:10:59 +0000 Subject: [PATCH] make build 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 invocation should work on GNU date and BSD date --- version.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/version.sh b/version.sh index 6c7d57a..1c3d3dc 100755 --- a/version.sh +++ b/version.sh @@ -6,7 +6,9 @@ fi if [ -z "$MAJOR" -o -z "$RELEASE" -o -z "$REVISION" ] ; then MAJOR="3" - RELEASE="$(date +%Y%m%d)" + SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}" + DATE_FMT="+%Y%m%d" + RELEASE="$(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")" REVISION=1 #$([ -d .svn ] && svn info . | awk '/Revision:/ {print $2}') : ${REVISION=:0}
