%{!?sources_gpg: %{!?dlrn:%global sources_gpg 1} } %global sources_gpg 0 %global sources_gpg_sign 0xf8675126e2411e7748dd46662fc2093e4682645f %global plugin whitebox-neutron-tempest-plugin %global module whitebox_neutron_tempest_plugin %global with_doc 0 %{?dlrn: %global tarsources %{module}-%{upstream_version}} %{!?dlrn: %global tarsources %{plugin}} %{!?upstream_version: %global upstream_version %{version}%{?milestone}} %global common_desc \ This package contains whitebox Tempest tests to cover the Neutron project. \ Additionally it provides a plugin to automatically load these tests into Tempest. Name: python-whitebox-neutron-tests-tempest Version: 0.9.0 Release: 1%{?dist} Summary: Whitebox Tempest tests related to the Neutron Project License: ASL 2.0 URL: https://opendev.org/x/%{plugin}/ Source0: http://opendev.org/x/%{plugin}/archive/%{upstream_version}.tar.gz#/%{module}-%{upstream_version}.tar.gz # Required for tarball sources verification %if 0%{?sources_gpg} == 1 Source101: http://tarballs.opendev.org/x/%{plugin}/%{plugin}-%{upstream_version}.tar.gz.asc Source102: https://releases.opendev.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: openstack-macros %description %{common_desc} %package -n python3-whitebox-neutron-tests-tempest Summary: %{summary} %{?python_provide:%python_provide python3-whitebox-neutron-tests-tempest} BuildRequires: python3-devel BuildRequires: python3-pbr BuildRequires: python3-setuptools Requires: python3-subunit >= 0.0.18 Requires: python3-testtools >= 0.9.30 Requires: python3-scapy Requires: python3-netaddr Requires: python3-netifaces Requires: python3-pyroute2 >= 0.6.6 %description -n python3-whitebox-neutron-tests-tempest %{common_desc} %if 0%{?with_doc} %package -n python-whitebox-neutron-tests-tempest-doc Summary: Documentation for python-whitebox-neutron-tests-tempest BuildRequires: python3-sphinx BuildRequires: python3-openstackdocstheme %description -n python-whitebox-neutron-tests-tempest-doc It contains the documentation for the Whitebox Neutron Tempest plugin. %endif %prep %autosetup -n %{tarsources} -S git # Let's handle dependencies ourseleves %py_req_cleanup # Remove bundled egg-info rm -rf %{module}.egg-info %build %{py3_build} # Generate Docs %if 0%{?with_doc} sphinx-build -W -b html doc/source doc/build/html # remove the sphinx build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} %endif %install %{py3_install} %files -n python3-whitebox-neutron-tests-tempest %license LICENSE %doc README.rst %{python3_sitelib}/%{module} %{python3_sitelib}/*.egg-info %if 0%{?with_doc} %files -n python-whitebox-neutron-tests-tempest-doc %doc doc/build/html %license LICENSE %endif %changelog * Tue Aug 13 2024 RDO 0.9.0-1 - Update to 0.9.0 * Mon Jul 29 2024 RDO 0.8.0-1 - Update to 0.8.0 * Thu Jul 11 2024 RDO 0.7.1-1 - Update to 0.7.1 * Thu Jun 27 2024 RDO 0.6.0-3 - Rebuild in Antelope * Wed Jun 26 2024 RDO 0.6.0-2 - Rebuild in Bobcat * Fri Jun 21 2024 RDO 0.6.0-1 - Update to 0.6.0 * Fri May 31 2024 RDO 0.5.0-1 - Update to 0.5.0 * Tue May 07 2024 RDO 0.4.0-1 - Update to 0.4.0 * Mon Mar 20 2023 RDO 0.0.1-1.1.7340201git - Update to post 0.0.1