Include the metadata directory in python3-jsonschema
Without the directory, no python3dist() provides and requires are generated.
This commit is contained in:
parent
62506e6aae
commit
4747ac62b1
@ -12,7 +12,7 @@ jsonschema is an implementation of JSON Schema for Python (supporting
|
||||
Name: python-%{pypi_name}
|
||||
Summary: Implementation of JSON Schema validation for Python
|
||||
Version: 4.6.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/Julian/jsonschema
|
||||
Source0: %{pypi_source}
|
||||
@ -55,6 +55,7 @@ rm jsonschema/tests/test_jsonschema_test_suite.py
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{pypi_name}
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
@ -62,13 +63,16 @@ rm jsonschema/tests/test_jsonschema_test_suite.py
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} trial-3 %{pypi_name}
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
||||
%license COPYING json/LICENSE
|
||||
%doc README.rst
|
||||
%{_bindir}/jsonschema
|
||||
%{python3_sitelib}/%{pypi_name}/
|
||||
|
||||
%changelog
|
||||
* Tue Jun 28 2022 Miro Hrončok <mhroncok@redhat.com> - 4.6.0-2
|
||||
- Include the metadata directory in python3-jsonschema
|
||||
- Fixes: rhbz#2101786
|
||||
|
||||
* Mon Jun 27 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.6.0-1
|
||||
- Update to 4.6.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user