## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 12; 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 click-help-colors %global pkgname python-click-help-colors %global slugname click_help_colors %global forgeurl https://github.com/click-contrib/click-help-colors %global common_description %{expand: Colorization of help messages in Click} %bcond_without tests Name: %{pkgname} Version: 0.9.1 %forgemeta Release: %autorelease Summary: Colorization of help messages in Click License: MIT URL: %{forgeurl} Source: %{pypi_source} Patch: 0001_updating_test_optional_packages_target_name.patch BuildArch: noarch BuildRequires: python3-devel %description %{common_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{common_description} %prep %forgeautosetup -p1 %generate_buildrequires %pyproject_buildrequires %{?with_tests:-x test} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{slugname} %if %{with tests} %check %pytest -vv %endif %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE.txt %doc examples README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.9.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.9.1-11 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.9.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.9.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.9.1-7 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.9.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Oct 24 2022 chedi toueiti - 0.9.1-5 - updating the build script up to the latest guidelines * Fri Jul 22 2022 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.9.1-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Sep 01 2021 chedi - 0.9.1-1 - update to version 0.9.1 * Fri Jul 23 2021 Fedora Release Engineering - 0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 23 2021 Lumir Balhar - 0.9-1 - Update to 0.9 * Fri Jun 04 2021 Python Maint - 0.8-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.8-2 - Rebuilt for Python 3.9 * Mon Apr 13 2020 chedi toueiti - 0.8-1 - initial commit ## END: Generated by rpmautospec