%{?python_enable_dependency_generator} %global pypi_name python-json-logger Name: python-json-logger Version: 2.0.4 Release: 9%{?dist} Summary: A python library adding a json log formatter # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: http://github.com/madzak/python-json-logger Source0: %{pypi_source} # Patch for compatibility with Python 3.12, doesn't work with older Pythons # https://github.com/madzak/python-json-logger/pull/178 Patch: Adjust-tests-for-taskName-attribute-added-in-Python-.patch # Compatibility with Python 3.13 # https://github.com/madzak/python-json-logger/pull/192 Patch: Python-3.13-compatibility-logger-creates-values-with.patch BuildArch: noarch %description A python library adding a json log formatter %package -n python3-json-logger Summary: A python library adding a json log formatter %{?python_provide:%python_provide python3-json-logger} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-json-logger A python library adding a json log formatter %prep %autosetup -n %{pypi_name}-%{version} -p1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}/%{python3_sitelib} %{__python3} -m unittest discover %files -n python3-json-logger %license LICENSE %{python3_sitelib}/pythonjsonlogger %{python3_sitelib}/python_json_logger-%{version}-py%{python3_version}.egg-info %changelog * Wed Sep 04 2024 Miroslav Suchý - 2.0.4-9 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 2.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Python Maint - 2.0.4-7 - Rebuilt for Python 3.13 * Fri Jun 07 2024 Python Maint - 2.0.4-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 2.0.4-2 - Rebuilt for Python 3.12 * Mon Feb 06 2023 Lumír Balhar - 2.0.4-1 - Update to 2.0.4 (rhbz#1597299) * Fri Jan 20 2023 Fedora Release Engineering - 0.1.7-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.1.7-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.1.7-19 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.1.7-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.7-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.1.7-16 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.1.7-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.1.7-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.1.7-13 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.1.7-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.1.7-11 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.1.7-10 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.1.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.1.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 02 2019 Igor Gnatenko - 0.1.7-7 - Enable python dependency generator * Wed Jan 02 2019 Miro Hrončok - 0.1.7-6 - Subpackage python2-json-logger has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 0.1.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.1.7-4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 19 2018 Iryna Shcherbina - 0.1.7-2 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Mon Jun 12 2017 Haïkel Guémar - 0.1.7-1 - Initial package.