## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 # tests are enabled by default %bcond_without tests %global srcname knack %global forgeurl https://github.com/microsoft/knack Version: 0.12.0 Epoch: 1 %global tag v%{version} %forgemeta Name: python-%{srcname} Release: %autorelease Summary: A Command-Line Interface framework License: MIT URL: %forgeurl Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel %if %{with tests} BuildRequires: python3dist(pytest) %endif %global _description %{expand: A Command-Line Interface framework} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %forgeautosetup -p1 %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files knack %if %{with tests} %check %pytest -k "not test_nargs_parameter" %endif %files -n python3-%{srcname} -f %{pyproject_files} %doc *.rst %changelog ## START: Generated by rpmautospec * Tue Jul 23 2024 Major Hayden - 1:0.12.0-1 - Update to 0.12.0 rhbz#2297874 * Tue Jul 23 2024 Major Hayden - 1:0.11.0-6 - Add packit config * Fri Jul 19 2024 Fedora Release Engineering - 1:0.11.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 1:0.11.0-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1:0.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1:0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 26 2023 Major Hayden - 1:0.11.0-1 - Update to 0.11.0 * Fri Jul 21 2023 Fedora Release Engineering - 1:0.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 28 2023 Python Maint - 1:0.10.1-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1:0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 07 2022 Major Hayden - 1:0.10.1-1 - Update to 0.10.1 * Fri Aug 19 2022 Major Hayden - 1:0.10.0-1 - Update to 0.10.0 rhbz#2119665 * Fri Jul 22 2022 Fedora Release Engineering - 1:0.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 1:0.9.0-4 - Rebuilt for Python 3.11 * Wed Apr 27 2022 Major Hayden - 1:0.9.0-3 - Remove skipped tests and mock fixes * Fri Jan 21 2022 Fedora Release Engineering - 1:0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 15 2021 Major Hayden - 1:0.9.0-1 - Update to 0.9.0 * Tue Nov 09 2021 Major Hayden - 1:0.8.2-1 - Revert to 0.8.2 * Tue Nov 09 2021 Major Hayden - 0.8.2-1 - Revert "Update to 0.8.3" * Thu Nov 04 2021 Major Hayden - 0.8.3-1 - Update to 0.8.3 * Fri Jul 23 2021 Fedora Release Engineering - 0.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.8.2-3 - Rebuilt for Python 3.10 * Thu Jun 03 2021 Major Hayden - 0.8.2-2 - Update README * Thu Jun 03 2021 Major Hayden - 0.8.2-1 - Initial package (#1966722) ## END: Generated by rpmautospec