Hello community,

here is the log from the commit of package python for openSUSE:Factory checked 
in at 2018-02-25 12:19:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python (Old)
 and      /work/SRC/openSUSE:Factory/.python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python"

Sun Feb 25 12:19:49 2018 rev:130 rq:578360 version:2.7.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/python/python-base.changes       2018-02-09 
15:43:53.919249248 +0100
+++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes  2018-02-25 
12:19:54.704874279 +0100
@@ -1,0 +2,5 @@
+Tue Feb 20 13:14:27 UTC 2018 - [email protected]
+
+- Add python-sorted_tar.patch (boo#1081750)
+
+-------------------------------------------------------------------
python.changes: same change

New:
----
  python-sorted_tar.patch

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

Other differences:
------------------
++++++ python-base.spec ++++++
--- /var/tmp/diff_new_pack.IzglKT/_old  2018-02-25 12:20:02.808580770 +0100
+++ /var/tmp/diff_new_pack.IzglKT/_new  2018-02-25 12:20:02.812580625 +0100
@@ -60,6 +60,8 @@
 Patch39:        python-fix-shebang.patch
 # bypass boo#1078485 random failing tests
 Patch40:        python-skip_random_failing_tests.patch
+# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263
+Patch41:        python-sorted_tar.patch
 # COMMON-PATCH-END
 %define         python_version    %(echo %{tarversion} | head -c 3)
 BuildRequires:  automake
@@ -167,6 +169,7 @@
 %ifarch ppc ppc64 ppc64le
 %patch40 -p1
 %endif
+%patch41 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac

++++++ python-doc.spec ++++++
--- /var/tmp/diff_new_pack.IzglKT/_old  2018-02-25 12:20:02.852579177 +0100
+++ /var/tmp/diff_new_pack.IzglKT/_new  2018-02-25 12:20:02.856579032 +0100
@@ -61,6 +61,8 @@
 Patch39:        python-fix-shebang.patch
 # bypass boo#1078485 random failing tests
 Patch40:        python-skip_random_failing_tests.patch
+# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263
+Patch41:        python-sorted_tar.patch
 # COMMON-PATCH-END
 Provides:       pyth_doc
 Provides:       pyth_ps
@@ -114,6 +116,7 @@
 %ifarch ppc ppc64 ppc64le
 %patch40 -p1
 %endif
+%patch41 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac

++++++ python.spec ++++++
--- /var/tmp/diff_new_pack.IzglKT/_old  2018-02-25 12:20:02.920576714 +0100
+++ /var/tmp/diff_new_pack.IzglKT/_new  2018-02-25 12:20:02.924576569 +0100
@@ -66,6 +66,8 @@
 Patch39:        python-fix-shebang.patch
 # bypass boo#1078485 random failing tests
 Patch40:        python-skip_random_failing_tests.patch
+# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263
+Patch41:        python-sorted_tar.patch
 # COMMON-PATCH-END
 BuildRequires:  automake
 BuildRequires:  db-devel
@@ -220,6 +222,7 @@
 %ifarch ppc ppc64 ppc64le
 %patch40 -p1
 %endif
+%patch41 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac


++++++ python-sorted_tar.patch ++++++
commit 6936e36efcc0a75c7d5e67b949c9749d61fa5ead
Author: Bernhard M. Wiedemann <[email protected]>
Date:   Sun Jun 18 03:50:25 2017 +0200

    tarfile: sort directory listing
    
    to generate tar files in a more reproducible way

diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index adf91d5382..36f6ed7167 100644
--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
@@ -2027,7 +2027,7 @@ class TarFile(object):
         elif tarinfo.isdir():
             self.addfile(tarinfo)
             if recursive:
-                for f in os.listdir(name):
+                for f in sorted(os.listdir(name)):
                     self.add(os.path.join(name, f), os.path.join(arcname, f),
                             recursive, exclude, filter)
 


Reply via email to