Hello community,

here is the log from the commit of package txt2tags for openSUSE:Factory 
checked in at 2017-07-04 09:12:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/txt2tags (Old)
 and      /work/SRC/openSUSE:Factory/.txt2tags.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "txt2tags"

Tue Jul  4 09:12:18 2017 rev:3 rq:507943 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/txt2tags/txt2tags.changes        2013-12-06 
14:46:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.txt2tags.new/txt2tags.changes   2017-07-04 
09:12:22.581885676 +0200
@@ -1,0 +2,6 @@
+Mon Jul  3 20:24:57 UTC 2017 - [email protected]
+
+- Add reproducible.patch to override build date
+  to make packages like votca-csg build more reproducibly
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ txt2tags.spec ++++++
--- /var/tmp/diff_new_pack.Bv0KLp/_old  2017-07-04 09:12:23.153805247 +0200
+++ /var/tmp/diff_new_pack.Bv0KLp/_new  2017-07-04 09:12:23.157804685 +0200
@@ -17,6 +17,8 @@
 License:        GPL-2.0
 URL:            http://txt2tags.sourceforge.net
 Source:         %{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM https://github.com/txt2tags/txt2tags/commit/49b0808
+Patch0:         reproducible.patch
 Requires:       python
 BuildArch:      noarch
 BuildRequires:  fdupes gettext-devel
@@ -32,6 +34,7 @@
  
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # compile the translated messages for all languages

++++++ reproducible.patch ++++++
Index: txt2tags-2.6/txt2tags
===================================================================
--- txt2tags-2.6.orig/txt2tags
+++ txt2tags-2.6/txt2tags
@@ -4110,7 +4110,7 @@ class MacroMaster:
                self.config   = config or CONF
                self.infile   = self.config['sourcefile']
                self.outfile  = self.config['outfile']
-               self.currdate = time.localtime(time.time())
+               self.currdate = 
time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))
                self.rgx      = regex.get('macros') or getRegexes()['macros']
                self.fileinfo = { 'infile': None, 'outfile': None }
                self.dft_fmt  = MACROS

Reply via email to