Hello community,

here is the log from the commit of package tuxpaint for openSUSE:Factory 
checked in at 2018-07-17 09:43:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tuxpaint (Old)
 and      /work/SRC/openSUSE:Factory/.tuxpaint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tuxpaint"

Tue Jul 17 09:43:11 2018 rev:7 rq:623157 version:0.9.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/tuxpaint/tuxpaint.changes        2015-04-18 
10:41:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.tuxpaint.new/tuxpaint.changes   2018-07-17 
09:43:56.956948809 +0200
@@ -1,0 +2,5 @@
+Sat Jul 14 03:01:51 UTC 2018 - bwiedem...@suse.com
+
+- Add reproducible.patch to override build date (boo#1047218)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tuxpaint.spec ++++++
--- /var/tmp/diff_new_pack.88LFGn/_old  2018-07-17 09:43:57.532946699 +0200
+++ /var/tmp/diff_new_pack.88LFGn/_new  2018-07-17 09:43:57.540946669 +0200
@@ -28,6 +28,8 @@
 Source:         
http://sourceforge.net/projects/tuxpaint/files/tuxpaint/%{version}/%{name}-%{version}.tar.gz
 Source1:        tuxpaint-rpmlintrc
 Patch1:         tuxpaint-import-eval.patch
+# PATCH-FIX-UPSTREAM bmwiedemann boo#1047218
+Patch2:         reproducible.patch
 BuildRequires:  SDL-devel
 BuildRequires:  SDL_Pango-devel
 BuildRequires:  SDL_image-devel
@@ -109,6 +111,7 @@
 %prep
 %setup -q
 %patch1  -b .import-eval-patch
+%patch2  -b .reproducible
 find . -name CVS   -print0 | xargs -0 rm -rf
 find docs/ -type f -print0 | xargs -0 chmod -v 644
 

++++++ reproducible.patch ++++++
Author: Chris Lamb <la...@debian.org>
Date:   Wed Apr 11 10:23:16 2018 +0200

    Allow to override build date
    
    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 works with GNU and BSD variants of date.
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -10,7 +10,11 @@
 # The version number, for release:
 
 VER_VERSION:=0.9.22
-VER_DATE:=$(shell date +"%Y-%m-%d")
+ifdef SOURCE_DATE_EPOCH
+       VER_DATE=$(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 
2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || 
date -u "+%Y-%m-%d")
+else
+       VER_DATE=$(shell date "+%Y-%m-%d")
+endif
 MAGIC_API_VERSION:=0x00000003
 
 # Need to know the OS

Reply via email to