Provide python3dist(jsonschema[format]) again

This metapackage is needed by python3-bravado-core and was removed
because of unsatisfied dependencies (jsonpointer > 1.13, strict-rfc3339)
which meanwhile are fulfilled in F33+.

Resolves: #1878976

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2020-11-10 14:22:10 +01:00
parent b6696c5e9b
commit d0bb16524f

View File

@ -14,7 +14,7 @@ jsonschema is an implementation of JSON Schema for Python (supporting
Name: python-%{pypi_name}
Summary: Implementation of JSON Schema validation for Python
Version: 3.2.0
Release: 7%{?dist}
Release: 8%{?dist}
License: MIT
URL: https://github.com/Julian/jsonschema
@ -42,14 +42,15 @@ BuildRequires: python3dist(twisted)
%package -n python3-%{pypi_name}
Summary: %{summary}
# This subpackage was removed for missing deps:
Obsoletes: python3-%{pypi_name}+format < 3.2.0-7
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name} %{common_description}
%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypi_name} -i %{python3_sitelib}/*.egg-info format}
%prep
%autosetup -n %{pypi_name}-%{version}
@ -82,6 +83,9 @@ PYTHONPATH=$(pwd) trial-3 %{pypi_name}
%changelog
* Tue Nov 10 2020 Nils Philippsen <nils@redhat.com> - 3.2.0-8
- Provide python3dist(jsonschema[format]) again (#1878976)
* Tue Sep 29 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.0-7
- Remove metapackage for python3dist(jsonschema[format]) (missing deps, #1880820)