14
0

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
This commit is contained in:
2021-01-15 13:39:42 +00:00
committed by Git OBS Bridge
parent ca1ceb69eb
commit ecaf9de68d
2 changed files with 9 additions and 11 deletions

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