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