## 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 %global upname sphinx-argparse %global srcname sphinx_argparse Name: python-%{upname} Version: 0.5.2 Release: %autorelease Summary: Sphinx extension that automatically documents argparse commands and options BuildArch: noarch License: MIT Url: https://github.com/ashb/sphinx-argparse Source: %{pypi_source %{srcname}} BuildRequires: python3-devel BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist lxml} %description Sphinx extension that automatically documents argparse commands and options %package -n python3-%{upname} Summary: %{summary} %description -n python3-%{upname} Sphinx extension that automatically documents argparse commands and options %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files sphinxarg %check %pytest %files -n python3-%{upname} -f %{pyproject_files} %license LICENCE.rst %doc README.rst %changelog ## START: Generated by rpmautospec * Wed Aug 21 2024 Sergio Pascual - 0.5.2-1 - New upstream source * Fri Jul 19 2024 Fedora Release Engineering - 0.4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.4.0-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 0.4.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 23 2022 Mikel Olasagasti Uranga - 0.4.0-1 - Update to 0.4.0 - Closes rhbz#2131994 * Mon Aug 15 2022 Mikel Olasagasti Uranga - 0.3.1-1 - Update to 0.3.1 - Closes rhbz#2116035 * Fri Jul 22 2022 Fedora Release Engineering - 0.2.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.2-16 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.2-13 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.2.2-10 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.2.2-8 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.2.2-7 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Sep 11 2018 Brian C. Lane - 0.2.2-4 - Remove python2 package from build (#1627431) * Sat Jul 14 2018 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.2.2-2 - Rebuilt for Python 3.7 * Fri May 11 2018 Brian C. Lane - 0.2.2-1 - Update to new upstream release * Fri Feb 09 2018 Iryna Shcherbina - 0.1.15-7 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Igor Gnatenko - 0.1.15-6 - Escape macros in %%changelog * Thu Jul 27 2017 Fedora Release Engineering - 0.1.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.1.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.1.15-3 - Rebuild for Python 3.6 * Tue Feb 02 2016 Brian C. Lane 0.1.15-2 - Fix description typo - Drop %%check section, upstream uses tox for testing. * Mon Feb 01 2016 Brian C. Lane 0.1.15-1 - Initial creation ## END: Generated by rpmautospec