From ecaf9de68dbd2f7afd947c4bdcb2dbf5c798ec950a1cd40fca18826f7609643c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 15 Jan 2021 13:39:42 +0000 Subject: [PATCH] Accepting request 863345 from home:bnavigator:branches:openSUSE:Factory - Disable python2 build as indirect build dependencies to python2-cffi are not resolvable anymore OBS-URL: https://build.opensuse.org/request/show/863345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=46 --- python-jsonschema.changes | 6 ++++++ python-jsonschema.spec | 14 +++----------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/python-jsonschema.changes b/python-jsonschema.changes index e5692c0..612fc78 100644 --- a/python-jsonschema.changes +++ b/python-jsonschema.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 15 13:12:18 UTC 2021 - Benjamin Greiner + +- Disable python2 build as indirect build dependencies to + python2-cffi are not resolvable anymore + ------------------------------------------------------------------- Thu Mar 12 07:44:16 UTC 2020 - Tomáš Chvátal diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 4fe7f10..86e3ebb 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -17,7 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%define skip_python2 1 Name: python-jsonschema Version: 3.2.0 Release: 0 @@ -48,12 +48,6 @@ Requires: python-six >= 1.11.0 Requires(post): update-alternatives Requires(preun): update-alternatives BuildArch: noarch -%if %{with python2} -BuildRequires: python2-functools32 -%endif -%ifpython2 -Requires: python-functools32 -%endif %python_subpackages %description @@ -90,9 +84,7 @@ for Python (supporting 2.6+ including Python 3). %license COPYING %doc README.rst %python_alternative %{_bindir}/jsonschema -%dir %{python_sitelib}/jsonschema -%{python_sitelib}/jsonschema/* -%dir %{python_sitelib}/jsonschema-%{version}-py*.egg-info -%{python_sitelib}/jsonschema-%{version}-py*.egg-info +%{python_sitelib}/jsonschema +%{python_sitelib}/jsonschema-%{version}*-info %changelog