Hello community,

here is the log from the commit of package python-datrie for openSUSE:Factory 
checked in at 2018-05-29 16:46:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-datrie (Old)
 and      /work/SRC/openSUSE:Factory/.python-datrie.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-datrie"

Tue May 29 16:46:21 2018 rev:4 rq:612266 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-datrie/python-datrie.changes      
2018-03-24 16:04:38.542722327 +0100
+++ /work/SRC/openSUSE:Factory/.python-datrie.new/python-datrie.changes 
2018-05-29 16:46:23.692800685 +0200
@@ -1,0 +2,5 @@
+Fri May 25 12:12:43 UTC 2018 - [email protected]
+
+- Add reproducible.patch to make build reproducible (boo#1041090)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ python-datrie.spec ++++++
--- /var/tmp/diff_new_pack.UizvsA/_old  2018-05-29 16:46:24.252780076 +0200
+++ /var/tmp/diff_new_pack.UizvsA/_new  2018-05-29 16:46:24.256779929 +0200
@@ -26,6 +26,7 @@
 Url:            https://github.com/kmike/datrie
 Source:         
https://files.pythonhosted.org/packages/source/d/datrie/datrie-%{version}.tar.gz
 Patch0:         datrie-bigendian.patch
+Patch1:         reproducible.patch
 BuildRequires:  %{python_module Cython >= 0.26.1}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module hypothesis}
@@ -43,6 +44,7 @@
 %prep
 %setup -q -n datrie-%{version}
 %patch0 -p1
+%patch1 -p1
 pushd src
 cython datrie.pyx
 popd

++++++ reproducible.patch ++++++
commit 561af3d93c5d7e0cb1e389797943dc3e229cfed7
Author: Bernhard M. Wiedemann <[email protected]>
Date:   Fri Mar 9 11:09:08 2018 +0100

    Sort input file list
    
    so that datrie builds in a reproducible way
    in spite of indeterministic filesystem readdir order
    and http://bugs.python.org/issue30461

diff --git a/setup.py b/setup.py
index c861f8a..54c7adb 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ import os
 from setuptools import setup, Extension
 
 LIBDATRIE_DIR = 'libdatrie'
-LIBDATRIE_FILES = glob.glob(os.path.join(LIBDATRIE_DIR, "datrie", "*.c"))
+LIBDATRIE_FILES = sorted(glob.glob(os.path.join(LIBDATRIE_DIR, "datrie", 
"*.c")))
 
 DESCRIPTION = __doc__
 LONG_DESCRIPTION = open('README.rst').read() + open('CHANGES.rst').read()

Reply via email to