## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 50; 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 pypi_name anyjson %global sum Wraps the best available JSON implementation Name: python-%{pypi_name} Version: 0.3.3 Release: %autorelease Summary: %{sum} License: BSD-3-Clause URL: http://pypi.python.org/pypi/anyjson Source0: %{pypi_source} # Fix Python 3 compatibility Patch0: anyjson-python3.patch # Include cjson, raise priority of cjson and drop the 'deprecation' # warning (it's about as alive as half the others), drop jsonlib, # jsonlib2 and django.utils.simplejson (which all appear to be dead # as doornails) Patch1: python-anyjson-update-order.patch Patch2: do-not-use-2to3.patch Patch3: use-pytest.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-six %description Anyjson loads whichever is the fastest JSON module installed and provides a uniform API regardless of which JSON implementation is used. %package -n python3-%{pypi_name} Summary: %{sum} %description -n python3-%{pypi_name} Anyjson loads whichever is the fastest JSON module installed and provides a uniform API regardless of which JSON implementation is used. %prep %autosetup -p1 -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %check %pytest -v %files -n python3-%{pypi_name} -f %{pyproject_files} %doc CHANGELOG README %license LICENSE %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.3.3-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jul 11 2024 Ali Erdinc Koroglu - 0.3.3-49 - drop nose dependency * Fri Jun 07 2024 Python Maint - 0.3.3-48 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.3.3-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.3.3-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.3.3-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.3.3-44 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.3.3-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.3.3-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jun 25 2022 Ali Erdinc Koroglu - 0.3.3-34 - Rebuilt for (RHBZ #2026258) * Mon Jun 13 2022 Python Maint - 0.3.3-33 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.3.3-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.3.3-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.3.3-30 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.3.3-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.3.3-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.3.3-27 - Rebuilt for Python 3.9 * Thu May 21 2020 Yatin Karel - 0.3.3-26 - Make anyjson buildable in El8 (#1787123) * Thu Jan 30 2020 Fedora Release Engineering - 0.3.3-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.3.3-24 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.3.3-23 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Feb 11 2019 Miro Hrončok - 0.3.3-21 - Subpackage python2-anyjson has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 0.3.3-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.3.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.3.3-18 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Iryna Shcherbina - 0.3.3-17 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.3.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.3.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Adam Williamson - 0.3.3-14 - Add ujson support (for Fedora > 25, with ujson 2.0+) * Sat Dec 24 2016 Adam Williamson - 0.3.3-13 - update the Python 3 compatibility patch (fixes build) - enable tests - add some more BuildRequires to extend test coverage * Tue Jul 19 2016 Fedora Release Engineering - 0.3.3-12 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Sat May 14 2016 Fabian Affolter - 0.3.3-11 - Fix FTBFS (rhbz#1307894) * Thu Feb 04 2016 Fedora Release Engineering - 0.3.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Nov 14 2015 Fabian Affolter - 0.3.3-9 - Cleanup * Wed Nov 04 2015 Matej Stuchlik - 0.3.3-8 - Rebuilt for Python 3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.3.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.3.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 14 2014 Bohuslav Kabrda - 0.3.3-5 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Sun Aug 04 2013 Fedora Release Engineering - 0.3.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Aug 04 2012 David Malcolm - 0.3.3-2 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 * Fri Aug 03 2012 Matthias Runge - 0.3.3-1 - update to 0.3.3 * Sat Jul 21 2012 Fedora Release Engineering - 0.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jan 31 2012 Fabian Affolter - 0.3.1-3 - Minor py3 fixes * Sun Jan 29 2012 Haïkel Guémar - 0.3.1-2 - add python3 variant * Sun Apr 03 2011 Fabian Affolter - 0.3.1-1 - Updated to new upstream version 0.3.1 * Tue Feb 08 2011 Fedora Release Engineering - 0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jan 27 2011 Fabian Affolter - 0.3-1 - Updated to new upstream version 0.3 * Sat Jul 31 2010 Orcan Ogetbil - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sat Jul 03 2010 Fabian Affolter - 0.2.4-1 - Initial package ## END: Generated by rpmautospec