%{?python_enable_dependency_generator} %global pypi_name python-json-logger Name: python-json-logger Version: 2.0.4 Release: 1%{?dist} Summary: A python library adding a json log formatter License: BSD URL: http://github.com/madzak/python-json-logger Source0: %{pypi_source} 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} # 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 * 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.