public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ijson] rawhide: spec cleanup and modernization, fixes rhbz#2377793
@ 2026-07-08 19:17 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-08 19:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-ijson
Branch : rawhide
Commit : 96d5d6c22b8e4e18901fd9a34a5f05c1d13a788a
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-25T23:13:58-03:00
Stats : +8/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-ijson/c/96d5d6c22b8e4e18901fd9a34a5f05c1d13a788a?branch=rawhide
Log:
spec cleanup and modernization, fixes rhbz#2377793
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/python-ijson.spec b/python-ijson.spec
index 7cf0d74..b83a055 100644
--- a/python-ijson.spec
+++ b/python-ijson.spec
@@ -12,7 +12,6 @@ Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3dist(setuptools)
%global _description %{expand:
Iterative JSON parser with standard Python iterator interfaces.}
@@ -35,20 +34,22 @@ BuildRequires: python3dist(cffi)
# Disable tests for unsupported configurations.
sed -i "s/\['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']/\['python', 'yajl2', 'yajl2_cffi']/" test/test_base.py
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l %{srcname}
%check
+%pyproject_check_import -e "ijson.backends.yajl*"
PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD %{python3} -m unittest discover
-%files -n python3-%{srcname}
-%license LICENSE.txt
+%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst
-%{python3_sitelib}/%{srcname}
-%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-08 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08 19:17 [rpms/python-ijson] rawhide: spec cleanup and modernization, fixes rhbz#2377793 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox