- Add patch openssl-111.patch to work with openssl-1.1.1

- Add patch openssl-111.patch to work with openssl-1.1.1

- Add patch openssl-111.patch to work with openssl-1.1.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=234
This commit is contained in:
Tomáš Chvátal
2018-10-26 12:53:54 +00:00
committed by Git OBS Bridge
parent 9eba14b8c5
commit 20d7b72031
7 changed files with 165 additions and 7 deletions

View File

@@ -66,10 +66,11 @@ Patch38: reproducible.patch
Patch40: python-skip_random_failing_tests.patch
# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263
Patch41: python-sorted_tar.patch
# https://github.com/python/cpython/pull/8771
Patch42: openssl-111.patch
# PATCH-FIX-UPSTREAM CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch mcepl@suse.com
# Suggested in https://github.com/python/cpython/commit/add531a1e55b.patch
Patch42: CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch
#
Patch43: CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch
# COMMON-PATCH-END
BuildRequires: automake
BuildRequires: db-devel
@@ -225,6 +226,7 @@ that rely on earlier non-verification behavior.
%endif
%patch41 -p1
%patch42 -p1
%patch43 -p1
# drop Autoconf version requirement
sed -i 's/^version_required/dnl version_required/' configure.ac
@@ -262,7 +264,7 @@ if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then
ulimit -v 10000000 || :
fi
LIST="test_urllib test_ssl test_hashlib test_hmac test_urllib2_localnet test_unicodedata test_tarfile test_sqlite test_tcl test_dbm test_anydbm test_dumbdbm test_gdbm test_whichdb test_tk test_ttk_textonly test_bsddb test_bsddb3 test_readline"
make test TESTOPTS="$LIST" TESTPYTHONOPTS="-R"
make test TESTOPTS="test_ssl" TESTPYTHONOPTS="-v"
%endif
%install