diff --git a/cinder-tempest-plugin-1.4.0.tar.gz b/cinder-tempest-plugin-1.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..815a0e31679ef393d87ea1ea2637d5a48426d224 Binary files /dev/null and b/cinder-tempest-plugin-1.4.0.tar.gz differ diff --git a/python-cinder-tempest-plugin.spec b/python-cinder-tempest-plugin.spec new file mode 100644 index 0000000000000000000000000000000000000000..9f9c71483368e0cdb7d9b344666f2346af3a38fd --- /dev/null +++ b/python-cinder-tempest-plugin.spec @@ -0,0 +1,105 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cinder-tempest-plugin +Version: 1.4.0 +Release: 1 +Summary: Tempest plugin tests for Cinder. +License: Apache-2.0 +URL: http://www.openstack.org/ +Source0: https://files.pythonhosted.org/packages/1c/1e/53ae972ac33e88fbcdea4e2580dcf12b822c1ccd629369ff5c2d78cefc1c/cinder-tempest-plugin-1.4.0.tar.gz +BuildArch: noarch +%description + Tempest Integration for Cinder This directory contains additional Cinder +tempest tests.See the tempest plugin docs for information on using it: run all +tests from this plugin, install cinder into your environment. Then from the +tempest directory run:: $ tox -e all -cinder_tempest_plugin It is expected that +Cinder third party CI's use the all tox environment above for all test runs. +Developers can also use this locally to perform more extensive testing.Any +typical devstack instance should be able to run all Cinder plugin tests. + +%package -n python3-cinder-tempest-plugin +Summary: Tempest plugin tests for Cinder. +Provides: python-cinder-tempest-plugin +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +# General requires +BuildRequires: python3-oslo-config +BuildRequires: python3-oslo-serialization +BuildRequires: python3-six +BuildRequires: python3-tempest +# General requires +Requires: python3-oslo-config +Requires: python3-oslo-serialization +Requires: python3-pbr +Requires: python3-six +Requires: python3-tempest +%description -n python3-cinder-tempest-plugin + Tempest Integration for Cinder This directory contains additional Cinder +tempest tests.See the tempest plugin docs for information on using it: run all +tests from this plugin, install cinder into your environment. Then from the +tempest directory run:: $ tox -e all -cinder_tempest_plugin It is expected that +Cinder third party CI's use the all tox environment above for all test runs. +Developers can also use this locally to perform more extensive testing.Any +typical devstack instance should be able to run all Cinder plugin tests. + +%package help +Summary: Tempest plugin tests for Cinder. +Provides: python3-cinder-tempest-plugin-doc +%description help + Tempest Integration for Cinder This directory contains additional Cinder +tempest tests.See the tempest plugin docs for information on using it: run all +tests from this plugin, install cinder into your environment. Then from the +tempest directory run:: $ tox -e all -cinder_tempest_plugin It is expected that +Cinder third party CI's use the all tox environment above for all test runs. +Developers can also use this locally to perform more extensive testing.Any +typical devstack instance should be able to run all Cinder plugin tests. + +%prep +%autosetup -n cinder-tempest-plugin-1.4.0 -S git + +%build +%py3_build + +%install +%py3_install + +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + + +%files -n python3-cinder-tempest-plugin -f filelist.lst + +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Jul 14 2021 OpenStack_SIG - 1.4.0-1 +- Package Spec generate \ No newline at end of file