public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-ijson] rawhide: spec cleanup and modernization, fixes rhbz#2377793
Date: Wed, 08 Jul 2026 19:17:55 GMT [thread overview]
Message-ID: <178353827566.1.1523341750700526550.rpms-python-ijson-96d5d6c22b8e@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-08 19:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178353827566.1.1523341750700526550.rpms-python-ijson-96d5d6c22b8e@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox