From cc0209f14acb14b7f1f711e59adc99043565cab92665b42e33fe26d8612ee282 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 15 Dec 2020 12:58:04 +0000 Subject: [PATCH] Accepting request 855980 from home:bnavigator:branches:devel:languages:python - Upstream dropped python2 support. Python2 tests fail on Leap. => skip python2 build. OBS-URL: https://build.opensuse.org/request/show/855980 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=76 --- python-pycurl.changes | 6 ++++++ python-pycurl.spec | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/python-pycurl.changes b/python-pycurl.changes index 501d523..27a248f 100644 --- a/python-pycurl.changes +++ b/python-pycurl.changes @@ -3,6 +3,12 @@ Tue Dec 15 12:56:23 UTC 2020 - Matej Cepl - Add make-py2-compat.patch to pass tests on Leap 15.2 +------------------------------------------------------------------- +Tue Dec 15 11:53:41 UTC 2020 - Benjamin Greiner + +- Upstream dropped python2 support. Python2 tests fail on Leap. + => skip python2 build. + ------------------------------------------------------------------- Mon Dec 14 14:15:29 UTC 2020 - Matej Cepl diff --git a/python-pycurl.spec b/python-pycurl.spec index f03834f..77c3838 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -16,8 +16,8 @@ # -%define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -58,10 +58,6 @@ BuildRequires: %{python_module bottle} BuildRequires: %{python_module flaky} BuildRequires: %{python_module pytest} %endif -%ifpython2 -Provides: %{oldpython}-curl = %{version} -Obsoletes: %{oldpython}-curl < %{version} -%endif %python_subpackages %description