diff --git a/neutron-tempest-plugin-1.9.0.tar.gz b/neutron-tempest-plugin-1.9.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..122bcf1544690bba90d1b9c22621a1472a93cc86 Binary files /dev/null and b/neutron-tempest-plugin-1.9.0.tar.gz differ diff --git a/python-neutron-tempest-plugin.spec b/python-neutron-tempest-plugin.spec new file mode 100644 index 0000000000000000000000000000000000000000..6945a0d9b857bbbdc5fd8363ec19d8249af4a008 --- /dev/null +++ b/python-neutron-tempest-plugin.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-neutron-tempest-plugin +Version: 1.9.0 +Release: 1 +Summary: Tempest plugin for Neutron Project +License: Apache-2.0 +URL: https://opendev.org/openstack/neutron-tempest-plugin +Source0: https://files.pythonhosted.org/packages/34/55/604055c671e5ec55b5e49770f50afb3a333c17ace7dec67e1c0dbb9d9c71/neutron-tempest-plugin-1.9.0.tar.gz +BuildArch: noarch + +Requires: python3-ddt +Requires: python3-debtcollector +Requires: python3-eventlet +Requires: python3-netaddr +Requires: python3-neutron-lib +Requires: python3-nose +Requires: python3-os-ken +Requires: python3-paramiko +Requires: python3-pbr +Requires: python3-tempest +Requires: python3-tenacity +Requires: python3-testscenarios +Requires: python3-testtools + +%description + + +%package -n python3-neutron-tempest-plugin +Summary: Tempest plugin for Neutron Project +Provides: python-neutron-tempest-plugin +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-pbr +%description -n python3-neutron-tempest-plugin + + +%package help +Summary: Development documents and examples for neutron-tempest-plugin +Provides: python3-neutron-tempest-plugin-doc +%description help + + +%prep +%autosetup -n neutron-tempest-plugin-1.9.0 + +%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-neutron-tempest-plugin -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Jul 14 2022 cuiyudong - 1.9.0-1 +- Init package python3-neutron-tempest-plugin of version 1.9.0