From 0678e69e65669ffcd6e2c276a6b7b7b906c01fda2eec322a333a179d820e3fbe Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 15 Mar 2022 09:06:03 +0000 Subject: [PATCH 1/2] - add skips for unsupported python versions OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=38 --- python-responses.changes | 5 +++++ python-responses.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-responses.changes b/python-responses.changes index efa51f3..edb9df1 100644 --- a/python-responses.changes +++ b/python-responses.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 15 09:05:31 UTC 2022 - Dirk Müller + +- add skips for unsupported python versions + ------------------------------------------------------------------- Tue Feb 22 09:13:36 UTC 2022 - Dirk Müller diff --git a/python-responses.spec b/python-responses.spec index 2374950..8b59183 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -16,7 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} +%global %skip_python2 1 +%global %skip_python36 1 Name: python-responses Version: 0.18.0 Release: 0 From e8456f640bc5e7ca5a0699a2ef8c1820834c8ddf4701e628c7c2ccd5561894e7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 15 Mar 2022 09:17:49 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=39 --- python-responses.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/python-responses.spec b/python-responses.spec index 8b59183..044b15a 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -17,8 +17,8 @@ %{?!python_module:%define python_module() python3-%{**}} -%global %skip_python2 1 -%global %skip_python36 1 +%global skip_python2 1 +%global skip_python36 1 Name: python-responses Version: 0.18.0 Release: 0 @@ -41,10 +41,6 @@ Requires: python-requests >= 2.0 Requires: python-six Suggests: python-pytest BuildArch: noarch -%ifpython2 -Requires: python2-cookies -Requires: python2-mock -%endif %python_subpackages %description