From 4747ac62b1c300392e622045efc03d4c4629654d Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jun 28 2022 13:33:14 +0000 Subject: Include the metadata directory in python3-jsonschema Without the directory, no python3dist() provides and requires are generated. --- diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 725f5b0..00988cf 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -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 - 4.6.0-2 +- Include the metadata directory in python3-jsonschema +- Fixes: rhbz#2101786 + * Mon Jun 27 2022 Parag Nemade - 4.6.0-1 - Update to 4.6.0