Hello community,

here is the log from the commit of package thunarx-python for openSUSE:Factory 
checked in at 2019-06-13 23:02:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/thunarx-python (Old)
 and      /work/SRC/openSUSE:Factory/.thunarx-python.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "thunarx-python"

Thu Jun 13 23:02:09 2019 rev:4 rq:709352 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/thunarx-python/thunarx-python.changes    
2018-06-20 15:25:53.433974700 +0200
+++ /work/SRC/openSUSE:Factory/.thunarx-python.new.4811/thunarx-python.changes  
2019-06-13 23:02:10.787454273 +0200
@@ -1,0 +2,6 @@
+Mon Jun 10 19:25:08 UTC 2019 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Add reproducible.patch to override build date
+  to make package build reproducible (boo#1047218)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ thunarx-python.spec ++++++
--- /var/tmp/diff_new_pack.pzZMr7/_old  2019-06-13 23:02:11.391453748 +0200
+++ /var/tmp/diff_new_pack.pzZMr7/_new  2019-06-13 23:02:11.399453740 +0200
@@ -24,6 +24,7 @@
 Group:          Development/Languages/Python
 Url:            http://goodies.xfce.org/projects/bindings/thunarx-python
 Source:         
http://archive.xfce.org/src/bindings/%{name}/0.5/%{name}-%{version}.tar.bz2
+Patch0:         reproducible.patch
 BuildRequires:  fdupes
 BuildRequires:  gtk-doc
 BuildRequires:  pkgconfig
@@ -48,6 +49,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \

++++++ reproducible.patch ++++++
commit 5e0514ca98f48a4f87365452119393ffb0e49524
Author: Bernhard M. Wiedemann <bwiedem...@suse.de>
Date:   Fri Jun 22 10:59:56 2018 +0200

    thunarx-python: 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.

Index: thunarx-python-0.5.1/docs/Makefile.in
===================================================================
--- thunarx-python-0.5.1.orig/docs/Makefile.in
+++ thunarx-python-0.5.1/docs/Makefile.in
@@ -591,7 +591,7 @@ uninstall-am: uninstall-HTMLDATA
 
 
 @ENABLE_GTK_DOC_TRUE@reference/builddate.xml: $(REFERENCE_DEPS)
-@ENABLE_GTK_DOC_TRUE@  $(PYTHON) -c 'import datetime; 
print(datetime.date.today())' > $@
+@ENABLE_GTK_DOC_TRUE@  $(PYTHON) -c 'import datetime; import os; import time; 
print 
datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", 
time.time()))).date()' > $@
 
 @ENABLE_GTK_DOC_TRUE@$(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml
 @ENABLE_GTK_DOC_TRUE@  $(GTKDOC_MKHTML) \

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 19971c2..3e01d78 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -63,7 +63,7 @@ REFERENCE_DEPS =      \
 if ENABLE_GTK_DOC
 
 reference/builddate.xml: $(REFERENCE_DEPS)
-       $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@
+       $(PYTHON) -c 'import datetime; import os; import time; print 
datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", 
time.time()))).date()' > $@
 
 $(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml
        $(GTKDOC_MKHTML) \

Reply via email to