## START: Set by rpmautospec ## (rpmautospec version 0.8.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 # There is circular dependency with this requiring stestr requiring cliff requiring stevedore %bcond_with bootstrap %global modname cliff %global common_desc %{expand: cliff is a framework for building command line programs. It uses setuptools entry points to provide subcommands, output formatters, and other extensions. Documentation for cliff is hosted on readthedocs.org at http://readthedocs.org/docs/cliff/en/latest/} %global common_desc_tests This package contains tests for the python cliff library. Name: python-%{modname} Version: 4.13.3 Release: %autorelease Summary: Command Line Interface Formulation Framework Group: Development/Libraries License: Apache-2.0 URL: https://pypi.io/pypi/cliff Source0: %pypi_source cliff BuildArch: noarch BuildRequires: python3-devel %package -n python3-%{modname} Summary: Command Line Interface Formulation Framework %description -n python3-%{modname} %{common_desc} %package -n python3-%{modname}-tests Summary: Command Line Interface Formulation Framework BuildRequires: bash BuildRequires: which # cliff imports docutils in code which is not in requirements.txt and it is # needed to run tests. BuildRequires: python3-docutils Requires: python3-%{modname} = %{version}-%{release} Requires: bash Requires: which # Keep manual runtime reqs in -tests subpackages for now Requires: python3-subunit Requires: python3-testtools Requires: python3-testscenarios Requires: python3-PyYAML Requires: python3-fixtures %description -n python3-%{modname}-tests %{common_desc_tests} %description %{common_desc} %prep %autosetup -p1 -n %{modname}-%{version} # Ignore openstack global constraints sed -i /.*-c{env:TOX_CONSTRAINTS_FILE.*/d tox.ini # Avoid sphinx as BR as we are not building doc rm cliff/tests/test_sphinxext.py %generate_buildrequires %if %{with bootstrap} %pyproject_buildrequires %else %pyproject_buildrequires -t -e %{default_toxenv} %endif %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l cliff %check %if %{with bootstrap} %pyproject_check_import -e cliff.tests.* -e cliff.sphinxext %else %tox %endif %files -n python3-%{modname} -f %{pyproject_files} %license LICENSE %doc doc/ README.rst ChangeLog AUTHORS CONTRIBUTING.rst %files -n python3-%{modname}-tests %{python3_sitelib}/%{modname}/tests %changelog ## START: Generated by rpmautospec * Wed Apr 15 2026 Steve Traylen - 4.13.3-1 - Update to 4.13.3 - Resolves: rhbz#2456498 * Fri Mar 27 2026 Steve Traylen - 4.13.2-3 - Backport of cliff/sphinx fix for py3.14 * Wed Mar 25 2026 Steve Traylen - 4.13.2-2 - Correct stestr missing bootstrap mode * Mon Mar 23 2026 Steve Traylen - 4.13.2-1 - Update to 4.13.2 - New --with bootstrap flag for stestr dep - Use pyproject macros file list - Remove redundant pyproject-rpms-macro BR - Remove redundant seds from setup * Sat Jan 17 2026 Fedora Release Engineering - 4.8.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 4.8.0-7 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 4.8.0-6 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 4.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 4.8.0-4 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 4.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Nov 24 2024 Kevin Fenzi - 4.8.0-1 - Upgrade to 4.8.0. Fixes rhbz#2327592 * Sat Nov 16 2024 Kevin Fenzi - 4.7.0-2 - Move to unittests to fix FTBFS. fixes rhbz#2319643 rhbz#2261552 * Mon Oct 07 2024 Joel Capitao 4.7.0-1 - Update to upstream version 4.7.0 * Fri Jul 19 2024 Fedora Release Engineering - 4.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 4.6.0-2 - Rebuilt for Python 3.13 * Mon May 06 2024 Alfredo Moralejo 4.6.0-1 - Update to upstream version 4.6.0 * Fri Jan 26 2024 Fedora Release Engineering - 4.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Oct 26 2023 Alfredo Moralejo 4.3.0-1 - Update to upstream version 4.3.0 * Fri Jul 21 2023 Fedora Release Engineering - 4.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Python Maint - 4.2.0-3 - Rebuilt for Python 3.12 * Tue Jun 06 2023 Joel Capitao 4.2.0-2 - Remove mock and testrepository BR * Fri Apr 21 2023 Karolina Kula 4.2.0-1 - Update to upstream version 4.2.0 * Fri Jan 20 2023 Fedora Release Engineering - 4.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Sep 28 2022 Benjamin A. Beasley - 4.0.0-2 - Fix missing importlib_metadata runtime dependency * Sun Sep 18 2022 Kevin Fenzi - 4.0.0-1 - Update to 4.0.0. Fixes rhbz#2117683 * Fri Jul 22 2022 Fedora Release Engineering - 3.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Zbigniew Jędrzejewski-Szmek - 3.10.1-3 - Rebuilt for pyparsing-3.0.9 * Thu Jun 16 2022 Python Maint - 3.10.1-2 - Rebuilt for Python 3.11 * Thu May 19 2022 Joel Capitao 3.10.1-1 - Update to upstream version 3.10.1 * Thu Jan 27 2022 Joel Capitao - 3.10.0-3 - Requires autopage to fix F36/FTBFS * Fri Jan 21 2022 Fedora Release Engineering - 3.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Kevin Fenzi - 3.10.0-1 - Update to 3.10.0. Fixes rhbz#2026719 * Sat Nov 06 2021 Kevin Fenzi - 3.9.0-1 - Update to 3.9.1. Fixes rhbz#1997441 * Fri Jul 23 2021 Fedora Release Engineering - 3.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 19 2021 Kevin Fenzi - 3.8.0-1 - Update to 3.8.0. Fixes rhbz#1965278 * Fri Jun 04 2021 Python Maint - 3.7.0-2 - Rebuilt for Python 3.10 * Thu Feb 18 2021 Kevin Fenzi - 3.7.0-1 - Update to 3.7.0. Fixes rhbz#1929150 * Thu Jan 28 2021 Kevin Fenzi - 3.6.0-1 - Update to 3.6.0. Fixes rhbz#1917619 * Wed Jan 27 2021 Fedora Release Engineering - 3.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 01 2021 Kevin Fenzi - 3.5.0-1 - Update to 3.5.0. Fixes rhbz#1896811 * Sun Sep 27 2020 Kevin Fenzi - 3.4.0-1 - Update to 3.4.0. Fixes #1783966 * Wed Jul 29 2020 Fedora Release Engineering - 3.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 03 2020 Joel Capitao 3.1.0-1 - Update to upstream version 3.1.0 * Tue May 26 2020 Miro Hrončok - 2.16.0-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2.16.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 06 2019 Alfredo Moralejo 2.16.0-2 - Update to upstream version 2.16.0 * Sun Oct 06 2019 Kevin Fenzi - 2.16.0-1 - Update to 2.16.0. Fixes bug #1749959 * Thu Oct 03 2019 Miro Hrončok - 2.15.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 2.15.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 2.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jun 29 2019 Kevin Fenzi - 2.15.0-1 - Update to 2.15.0. Fixed bug #1686683 * Fri Mar 08 2019 RDO 2.14.1-1 - Update to 2.14.1 ## END: Generated by rpmautospec