Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-10-05 16:20:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python" Sat Oct 5 16:20:01 2019 rev:141 rq:734624 version:2.7.16 Changes: -------- --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-07-30 13:03:31.150412929 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.2352/python-base.changes 2019-10-05 16:20:02.625478073 +0200 @@ -1,0 +2,5 @@ +Wed Sep 25 13:25:33 UTC 2019 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add bpo36302-sort-module-sources.patch (boo#1041090) + +------------------------------------------------------------------- python.changes: same change New: ---- bpo36302-sort-module-sources.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-base.spec ++++++ --- /var/tmp/diff_new_pack.LJwSx3/_old 2019-10-05 16:20:04.973471959 +0200 +++ /var/tmp/diff_new_pack.LJwSx3/_new 2019-10-05 16:20:04.977471949 +0200 @@ -84,6 +84,8 @@ # PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com # http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain Patch54: CVE-2018-20852-cookie-domain-check.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 +Patch55: bpo36302-sort-module-sources.patch # COMMON-PATCH-END %define python_version %(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -199,6 +201,7 @@ %patch52 -p1 %patch53 -p1 %patch54 -p1 +%patch55 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++++++ python-doc.spec ++++++ --- /var/tmp/diff_new_pack.LJwSx3/_old 2019-10-05 16:20:05.009471866 +0200 +++ /var/tmp/diff_new_pack.LJwSx3/_new 2019-10-05 16:20:05.021471835 +0200 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - Name: python-doc Version: 2.7.16 Release: 0 @@ -84,6 +83,8 @@ # PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com # http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain Patch54: CVE-2018-20852-cookie-domain-check.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 +Patch55: bpo36302-sort-module-sources.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -145,6 +146,7 @@ %patch52 -p1 %patch53 -p1 %patch54 -p1 +%patch55 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++++++ python.spec ++++++ --- /var/tmp/diff_new_pack.LJwSx3/_old 2019-10-05 16:20:05.061471731 +0200 +++ /var/tmp/diff_new_pack.LJwSx3/_new 2019-10-05 16:20:05.065471720 +0200 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - Name: python Version: 2.7.16 Release: 0 @@ -89,6 +88,8 @@ # PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com # http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain Patch54: CVE-2018-20852-cookie-domain-check.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 +Patch55: bpo36302-sort-module-sources.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -250,6 +251,7 @@ %patch52 -p1 %patch53 -p1 %patch54 -p1 +%patch55 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++++++ bpo36302-sort-module-sources.patch ++++++ diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 86a85c1..66bf0c2 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -455,7 +455,7 @@ class build_ext (Command): ("in 'ext_modules' option (extension '%s'), " + "'sources' must be present and must be " + "a list of source filenames") % ext.name - sources = list(sources) + sources = sorted(sources) ext_path = self.get_ext_fullpath(ext.name) depends = sources + ext.depends