fix: python packages (#6584) (#6593)

(cherry picked from commit 4effe1102d)

Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2025-09-30 00:19:46 -07:00
committed by GitHub
parent 6ac33e609f
commit 181b74038f
5 changed files with 17 additions and 21 deletions
+4 -2
View File
@@ -3,7 +3,7 @@
Name: python-%{pypi_name}
Version: 0.11.1
Release: 1%?dist
Release: 2%?dist
Summary: An object-oriented JSON Schema implementation for Python
License: MIT
URL: https://github.com/marksparkza/jschon
@@ -37,7 +37,7 @@ Provides: jschon
%_desc
%prep
%autosetup -n jschon-%{version}
%git_clone %{url}.git %{version}
%build
%pyproject_wheel
@@ -51,6 +51,8 @@ Provides: jschon
%license LICENSE
%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc
%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc
%{python3_sitelib}/jschon/catalog/json-schema-2019-09/*.json
%{python3_sitelib}/jschon/catalog/json-schema-2020-12/*.json
%python3_sitelib/jschon-%version.dist-info/*
%changelog