Hello community,

here is the log from the commit of package DirectFB for openSUSE:Factory 
checked in at 2015-02-06 10:45:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/DirectFB (Old)
 and      /work/SRC/openSUSE:Factory/.DirectFB.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "DirectFB"

Changes:
--------
--- /work/SRC/openSUSE:Factory/DirectFB/DirectFB.changes        2014-11-28 
08:47:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.DirectFB.new/DirectFB.changes   2015-02-06 
10:45:20.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb  3 18:30:23 UTC 2015 - co...@suse.com
+
+- inject the timestamp of the .changes file instead of the rebuild time
+  to get a reproducible build time
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ DirectFB.spec ++++++
--- /var/tmp/diff_new_pack.2gemUE/_old  2015-02-06 10:45:21.000000000 +0100
+++ /var/tmp/diff_new_pack.2gemUE/_new  2015-02-06 10:45:21.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package DirectFB
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -29,6 +29,8 @@
 Url:            http://www.directfb.org/
 Source:         
http://www.directfb.org/downloads/Core/DirectFB-1.7/%{name}-%{version}.tar.gz
 Source2:        baselibs.conf
+# to have a reproducible timestamp as build time
+Source99:       %{name}.changes
 # PATCH-FIX-UPSTREAM
 Patch2:         DirectFB-0.9.24-matroxi2c.diff
 # PATCH-FIX-UPSTREAM
@@ -235,6 +237,11 @@
 #FIXME: mvyskocil - can't compile test_foo.c due missing region->context
 rm wm/unique/test_foo.c
 
+# get a reproducible buildtime from changes file
+date=$(date -u "+%Y-%m-%d %H:%M" -r %{S:99})
+cp src/core/Makefile.in src/core/Makefile.in.time
+sed -e "s,BUILDTIME=.*,BUILDTIME=\\\\\"$date\\\\\"\" \\\," -i 
src/core/Makefile.in
+
 %build
 # move things back
 mv _patches patches

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to