Accepting request 863348 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/863348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonschema?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2021-01-19 14:59:24 +00:00 committed by Git OBS Bridge
commit f241b1506e
2 changed files with 9 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 15 13:12:18 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- 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 <tchvatal@suse.com>

View File

@ -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