Hello community,

here is the log from the commit of package gpick for openSUSE:Factory checked 
in at 2017-01-24 10:42:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpick (Old)
 and      /work/SRC/openSUSE:Factory/.gpick.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gpick"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gpick/gpick.changes      2013-09-23 
15:10:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gpick.new/gpick.changes 2017-01-24 
10:42:32.240567028 +0100
@@ -1,0 +2,11 @@
+Fri Jan 20 23:29:21 UTC 2017 - zai...@opensuse.org
+
+- Update Url to new home.
+
+-------------------------------------------------------------------
+Tue Jan 17 14:23:52 UTC 2017 - bwiedem...@suse.com
+
+- Add reproducible.patch to allow for reproducible builds
+  (gh#thezbyg/gpick#138).
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ gpick.spec ++++++
--- /var/tmp/diff_new_pack.ohNLi9/_old  2017-01-24 10:42:32.780490362 +0100
+++ /var/tmp/diff_new_pack.ohNLi9/_new  2017-01-24 10:42:32.784489794 +0100
@@ -22,9 +22,11 @@
 Summary:        Advanced color picker writen in GTK+
 License:        BSD-3-Clause
 Group:          Productivity/Graphics/Visualization/Other
-Url:            http://code.google.com/p/gpick/
+Url:            http://www.gpick.org/
 Source0:        http://gpick.googlecode.com/files/%{name}_%{version}.tar.gz
 Source1:        copyright
+# PATCH-FIX-UPSTREAM reproducible.patch gh#thezbyg/gpick#138 
bwiedem...@suse.com -- Fix reproducible builds
+Patch0:         reproducible.patch
 BuildRequires:  boost-devel
 BuildRequires:  expat
 BuildRequires:  flex
@@ -50,6 +52,7 @@
 %lang_package
 %prep
 %setup -q -n %{name}_%{version}
+%patch0 -p1
 
 %build
 scons %{?_smp_mflags}

++++++ reproducible.patch ++++++
Index: gpick_0.2.5/tools/gpick.py
===================================================================
--- gpick_0.2.5.orig/tools/gpick.py
+++ gpick_0.2.5/tools/gpick.py
@@ -147,8 +147,8 @@ class GpickEnvironment(SConsEnvironment)
                        revision = 'not under version control system'
 
                self.Replace(GPICK_BUILD_REVISION = revision,
-                       GPICK_BUILD_DATE =  time.strftime ("%Y-%m-%d"),
-                       GPICK_BUILD_TIME =  time.strftime ("%H:%M:%S"));        
+                       GPICK_BUILD_DATE =  time.strftime ("%Y-%m-%d", 
time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))),
+                       GPICK_BUILD_TIME =  time.strftime ("%H:%M:%S"));
 
 def RegexEscape(str):
        return str.replace('\\', '\\\\')

Reply via email to