public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jsonschema] 2488367: Include the metadata directory in python3-jsonschema
@ 2026-06-15  7:29 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-15  7:29 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-jsonschema
            Branch : 2488367
            Commit : 4747ac62b1c300392e622045efc03d4c4629654d
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2022-06-28T15:33:14+02:00
            Stats  : +7/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-jsonschema/c/4747ac62b1c300392e622045efc03d4c4629654d?branch=2488367

            Log:
            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 <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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-15  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15  7:29 [rpms/python-jsonschema] 2488367: Include the metadata directory in python3-jsonschema 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox