## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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 * 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