- Add skip_unverified_test.patch because apparently switching off

SSL verification doesn't work on older SLE.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=339
This commit is contained in:
2023-01-19 08:45:16 +00:00
committed by Git OBS Bridge
parent 6a9d569c25
commit 2a9d6402e8
7 changed files with 58 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -138,6 +138,9 @@ Patch72: bpo34990-2038-problem-compileall.patch
# PATCH-FIX-UPSTREAM CVE-2022-45061-DoS-by-IDNA-decode.patch bsc#1205244 mcepl@suse.com
# Avoid DoS by decoding IDNA for too long domain names
Patch73: CVE-2022-45061-DoS-by-IDNA-decode.patch
# PATCH-FIX-UPSTREAM skip_unverified_test.patch mcepl@suse.com
# switching verification off on the old SLE doesn't work
Patch74: skip_unverified_test.patch
# COMMON-PATCH-END
BuildRequires: automake
BuildRequires: db-devel
@@ -334,6 +337,9 @@ that rely on earlier non-verification behavior.
%patch71 -p1
%patch72 -p1
%patch73 -p1
%if 0%{?sle_version} && 0%{?sle_version} < 150000
%patch74 -p1
%endif
# For patch 66
cp -v %{SOURCE66} Lib/test/recursion.tar