## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 pypi_name daiquiri %global _description %{expand: The %{pypi_name} library provides an easy way to configure Python logging. It also provides some custom formatters and handlers.} Name: python-%{pypi_name} Version: 3.3.0 Release: %autorelease Summary: Library to configure Python logging easily License: Apache-2.0 URL: https://github.com/Mergifyio/daiquiri Source: %{pypi_source %{pypi_name}} BuildArch: noarch %description %{_description} %package -n python%{python3_pkgversion}-%{pypi_name} Summary: Library to configure Python logging easily BuildRequires: python%{python3_pkgversion}-devel Requires: python%{python3_pkgversion}-json-logger %description -n python%{python3_pkgversion}-%{pypi_name} %{_description} %package -n python-%{pypi_name}-doc Summary: daiquiri documentation BuildRequires: python%{python3_pkgversion}-sphinx %description -n python-%{pypi_name}-doc Documentation for daiquiri %generate_buildrequires %pyproject_buildrequires -x test %prep %autosetup -n %{pypi_name}-%{version} %build %pyproject_wheel # generate html docs sphinx-build doc/source html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %install %pyproject_install %pyproject_save_files -l daiquiri %check %pytest -v %files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} %doc README.rst %files -n python-%{pypi_name}-doc %license LICENSE %doc html %changelog ## START: Generated by rpmautospec * Thu Jul 24 2025 Davide Cavalca - 3.3.0-1 - Update to 3.3.0 and tidy the spec * Tue Jun 03 2025 Python Maint - 3.2.1-11 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 3.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Jul 24 2024 Miroslav Suchý - 3.2.1-9 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 3.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Python Maint - 3.2.1-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 19 2023 Joel Capitao - 3.2.1-3 - Exclude the unit tests failing with Python3.12 * Tue Jul 04 2023 Python Maint - 3.2.1-2 - Rebuilt for Python 3.12 * Mon Feb 13 2023 Joel Capitao - 3.2.1-1 - Update to latest upstream * Tue Jan 31 2023 Joel Capitao - 3.0.1-1 - Update to latest upstream (#1482280) * Fri Jan 20 2023 Fedora Release Engineering - 1.5.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.5.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 1.5.0-14 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.5.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.5.0-12 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.5.0-11 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.5.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.5.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.5.0-8 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.5.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.5.0-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.5.0-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 1.5.0-2 - Subpackage python2-daiquiri has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sun Sep 16 2018 Haïkel Guémar - 1.5.0-1 - Upstream 1.5.0 - Fix FTFBS (RHBZ#1605649) * Fri Jul 13 2018 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.2.1-4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 25 2018 Iryna Shcherbina - 1.2.1-2 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Wed Jul 26 2017 Pradeep Kilambi - 1.2.1-1 - Rebase to 1.2.1 * Mon Jun 12 2017 Haïkel Guémar - 0.1.0-1 - Upstream 0.1.0 * Thu May 25 2017 Haïkel Guémar - 0.0.1-1 - Initial package. ## END: Generated by rpmautospec