Accepting request 734624 from devel:languages:python:Factory
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/734624 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=141
This commit is contained in:
commit
20f164bed4
13
bpo36302-sort-module-sources.patch
Normal file
13
bpo36302-sort-module-sources.patch
Normal file
@ -0,0 +1,13 @@
|
||||
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
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 13:25:33 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Add bpo36302-sort-module-sources.patch (boo#1041090)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 13:28:16 CEST 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -84,6 +84,8 @@ Patch53: CVE-2019-9947-no-ctrl-char-http.patch
|
||||
# PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mcepl@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 @@ other applications.
|
||||
%patch52 -p1
|
||||
%patch53 -p1
|
||||
%patch54 -p1
|
||||
%patch55 -p1
|
||||
|
||||
# drop Autoconf version requirement
|
||||
sed -i 's/^version_required/dnl version_required/' configure.ac
|
||||
|
@ -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 @@ Patch53: CVE-2019-9947-no-ctrl-char-http.patch
|
||||
# PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mcepl@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 @@ Python, and Macintosh Module Reference in PDF format.
|
||||
%patch52 -p1
|
||||
%patch53 -p1
|
||||
%patch54 -p1
|
||||
%patch55 -p1
|
||||
|
||||
# drop Autoconf version requirement
|
||||
sed -i 's/^version_required/dnl version_required/' configure.ac
|
||||
|
@ -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 @@ Patch53: CVE-2019-9947-no-ctrl-char-http.patch
|
||||
# PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mcepl@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 @@ that rely on earlier non-verification behavior.
|
||||
%patch52 -p1
|
||||
%patch53 -p1
|
||||
%patch54 -p1
|
||||
%patch55 -p1
|
||||
|
||||
# drop Autoconf version requirement
|
||||
sed -i 's/^version_required/dnl version_required/' configure.ac
|
||||
|
Loading…
x
Reference in New Issue
Block a user