diff --git a/python-jsonschema.spec b/python-jsonschema.spec index e646d3c..1296362 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -1,6 +1,6 @@ Name: python-jsonschema Version: 3.2.0 -Release: 3mamba +Release: 4mamba Summary: jsonschema is an implementation of JSON Schema for Python Group: System/Libraries Vendor: openmamba @@ -22,8 +22,11 @@ BuildRequires: python3.7dist(six) %{summary}. %if 0%{?with_pyver} +%if "%{?with_pyver}" == "3" %define py_requires_append \ +Provides: python-jsonschema \ Obsoletes: python-jsonschema <= 3.2.0-2mamba +%endif %pyver_package %endif @@ -44,13 +47,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/jsonschema-%{version}-py*.egg-info %{python_sitearch}/jsonschema-%{version}-py*.egg-info/* %doc COPYING README.rst %changelog +* Sun Apr 09 2023 Silvan Calarco 3.2.0-4mamba +- rebuilt with python 3.10 + * Mon Aug 30 2021 Silvan Calarco 3.2.0-3mamba - rebuilt with distdeps