## 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 # oslo.config and this are in circular build dependency, switch # to without to get past this then build again %bcond_with bootstrap %global sources_gpg 1 %global sources_gpg_sign 0x30566c450e41d7c91e442dfb231f942f608ddeff %global pypi_name oslotest %if %{without bootstrap} %global with_doc 1 %else %global with_doc 0 %endif %global common_desc OpenStack test framework and test fixtures. Name: python-%{pypi_name} Version: 6.1.1 Release: %autorelease Summary: OpenStack test framework License: Apache-2.0 URL: http://launchpad.net/oslo Source0: https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{version}.tar.gz # Required for tarball sources verification %if 0%{?sources_gpg} == 1 Source101: https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{version}.tar.gz.asc Source102: https://releases.openstack.org/_static/%{sources_gpg_sign}.txt %endif BuildArch: noarch # Required for tarball sources verification %if 0%{?sources_gpg} == 1 BuildRequires: /usr/bin/gpgv2 %endif BuildRequires: git-core BuildRequires: python3-devel %description %{common_desc} %package -n python3-%{pypi_name} Summary: OpenStack test framework BuildRequires: pyproject-rpm-macros %description -n python3-%{pypi_name} %{common_desc} %if 0%{?with_doc} %package -n python-%{pypi_name}-doc Summary: Documentation for the OpenStack test framework %description -n python-%{pypi_name}-doc %{common_desc} Documentation %endif %prep # Required for tarball sources verification %if 0%{?sources_gpg} == 1 %{gpgverify} --keyring=%{SOURCE102} --signature=%{SOURCE101} --data=%{SOURCE0} %endif %autosetup -n %{pypi_name}-%{version} -S git sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini #sed -i "s/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/" tox.ini sed -i '/sphinx-build/ s/-W//' tox.ini sed -i \ -e "/^coverage[[:space:]]*[!><=]/d" \ -e "/^reno[[:space:]]*[!><=]/d" \ test-requirements.txt doc/requirements.txt %generate_buildrequires %if %{without bootstrap} %pyproject_buildrequires -t -e %{default_toxenv},docs %else %pyproject_buildrequires %endif %build %pyproject_wheel %if 0%{?with_doc} # generate html docs %tox -e docs # remove the sphinx-build-3 leftovers rm -rf doc/build/html/.{doctrees,buildinfo} %endif %install %pyproject_install %pyproject_save_files -l oslotest %check %if %{without bootstrap} %tox -e %{default_toxenv} %endif %files -n python3-%{pypi_name} -f %{pyproject_files} %{_bindir}/oslo_debug_helper %doc ChangeLog %if 0%{?with_doc} %files -n python-%{pypi_name}-doc %license LICENSE %doc doc/build/html %doc README.rst %endif %changelog ## START: Generated by rpmautospec * Tue May 05 2026 Steve Traylen - 6.1.1-1 - Update to v6.1.1 * Thu Mar 26 2026 Steve Traylen - 6.0.0-2 - Addition of with bootstrap option * Thu Mar 26 2026 Steve Traylen - 6.0.0-1 - Release 6.0.0 * Sat Jan 17 2026 Fedora Release Engineering - 5.0.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 5.0.0-11 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 5.0.0-10 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 5.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 5.0.0-8 - Rebuilt for Python 3.14 * Tue Jun 03 2025 Python Maint - 5.0.0-7 - Bootstrap for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 5.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 5.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Python Maint - 5.0.0-4 - Rebuilt for Python 3.13 * Sat Jun 08 2024 Python Maint - 5.0.0-3 - Bootstrap for Python 3.13 * Tue May 07 2024 Karolina Surma 5.0.0-2 - Bring back the possibility to bootstrap the package * Mon May 06 2024 Alfredo Moralejo 5.0.0-1 - Update to upstream version 5.0.0 * Fri Jan 26 2024 Fedora Release Engineering - 4.5.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.5.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 4.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Python Maint - 4.5.0-5 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 4.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 4.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Python Maint - 4.5.0-2 - Rebuilt for Python 3.11 * Wed May 18 2022 Joel Capitao 4.5.0-1 - Update to upstream version 4.5.0 * Fri Jan 21 2022 Fedora Release Engineering - 4.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 4.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 4.4.1-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 4.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Oct 28 2020 Alfredo Moralejo 4.4.1-2 - Update to upstream version 4.4.1 * Wed Jul 29 2020 Fedora Release Engineering - 4.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 03 2020 Joel Capitao 4.2.0-1 - Update to upstream version 4.2.0 * Tue May 26 2020 Miro Hrončok - 3.8.1-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 3.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 06 2019 Alfredo Moralejo 3.8.1-2 - Update to upstream version 3.8.1 * Thu Oct 03 2019 Miro Hrončok - 3.7.1-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 3.7.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 3.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Mar 08 2019 RDO 3.7.1-1 - Update to 3.7.1 ## END: Generated by rpmautospec