## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname ijson Name: python-%{srcname} Version: 3.3.0 Release: %autorelease Summary: Iterative JSON parser License: BSD-3-Clause URL: https://github.com/ICRAR/ijson 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.} %description %_description %package -n python3-%{srcname} Summary: %{summary} Recommends: yajl Recommends: python3dist(cffi) # Test dependencies BuildRequires: python3dist(cffi) %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} # Disable tests for unsupported configurations. sed -i "s/\['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']/\['python', 'yajl2', 'yajl2_cffi']/" test/test_base.py %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD %{python3} -m unittest discover %files -n python3-%{srcname} %license LICENSE.txt %doc README.rst %{python3_sitelib}/%{srcname} %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog ## START: Generated by rpmautospec * Mon Nov 18 2024 Kai A. Hiller - 3.3.0-1 - Update to v3.3.0 * Fri Jul 19 2024 Fedora Release Engineering - 3.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.2.3-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Aug 19 2023 Kai A. Hiller - 3.2.3-1 - Update to v3.2.3 * Fri Jul 21 2023 Fedora Release Engineering - 3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 3.2.0-2 - Rebuilt for Python 3.12 * Wed Mar 29 2023 Kai A. Hiller - 3.2.0-1 - Update to v3.2.0 * Wed Mar 29 2023 Kai A. Hiller - 3.1.4-9 - SPDX migration * Fri Jan 20 2023 Fedora Release Engineering - 3.1.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 3.1.4-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 3.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 23 2021 Kai A. Hiller - 3.1.4-1 - Initial package. ## END: Generated by rpmautospec