init packages
This commit is contained in:
parent
1eb872cf67
commit
dae0acb723
BIN
neutron-tempest-plugin-0.6.0.tar.gz
Normal file
BIN
neutron-tempest-plugin-0.6.0.tar.gz
Normal file
Binary file not shown.
111
python-neutron-tempest-plugin.spec
Normal file
111
python-neutron-tempest-plugin.spec
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
Name: python-neutron-tempest-plugin
|
||||||
|
Version: 0.6.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/8b/b0/ba25c622e52e697628657e4c498b9b88bf7129cc75ffec96a6541d0e9bec/neutron-tempest-plugin-0.6.0.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
%description
|
||||||
|
Tempest plugin for Neutron Project
|
||||||
|
|
||||||
|
%package -n python3-neutron-tempest-plugin
|
||||||
|
Summary: Tempest plugin for Neutron Project
|
||||||
|
Provides: python-neutron-tempest-plugin
|
||||||
|
# Base build requires
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
# General requires
|
||||||
|
BuildRequires: python3-neutron-lib
|
||||||
|
BuildRequires: python3-oslo-config
|
||||||
|
BuildRequires: python3-netaddr
|
||||||
|
BuildRequires: python3-oslo-log
|
||||||
|
BuildRequires: python3-oslo-serialization
|
||||||
|
BuildRequires: python3-oslo-utils
|
||||||
|
BuildRequires: python3-paramiko
|
||||||
|
BuildRequires: python3-six
|
||||||
|
BuildRequires: python3-tempest
|
||||||
|
BuildRequires: python3-tenacity
|
||||||
|
BuildRequires: python3-ddt
|
||||||
|
BuildRequires: python3-testtools
|
||||||
|
BuildRequires: python3-testscenarios
|
||||||
|
BuildRequires: python3-eventlet
|
||||||
|
BuildRequires: python3-debtcollector
|
||||||
|
# General requires
|
||||||
|
Requires: python3-pbr
|
||||||
|
Requires: python3-neutron-lib
|
||||||
|
Requires: python3-oslo-config
|
||||||
|
Requires: python3-netaddr
|
||||||
|
Requires: python3-oslo-log
|
||||||
|
Requires: python3-oslo-serialization
|
||||||
|
Requires: python3-oslo-utils
|
||||||
|
Requires: python3-paramiko
|
||||||
|
Requires: python3-six
|
||||||
|
Requires: python3-tempest
|
||||||
|
Requires: python3-tenacity
|
||||||
|
Requires: python3-ddt
|
||||||
|
Requires: python3-testtools
|
||||||
|
Requires: python3-testscenarios
|
||||||
|
Requires: python3-eventlet
|
||||||
|
Requires: python3-debtcollector
|
||||||
|
%description -n python3-neutron-tempest-plugin
|
||||||
|
Tempest plugin for Neutron Project
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Tempest plugin for Neutron Project
|
||||||
|
Provides: python3-neutron-tempest-plugin-doc
|
||||||
|
%description help
|
||||||
|
Tempest plugin for Neutron Project
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n neutron-tempest-plugin-%{version}
|
||||||
|
|
||||||
|
%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 .
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__python3} setup.py test
|
||||||
|
|
||||||
|
%files -n python3-neutron-tempest-plugin -f filelist.lst
|
||||||
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
|
%files help -f doclist.lst
|
||||||
|
%{_docdir}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Oct 29 2021 OpenStack_SIG <openstack@openeuler.org> - 0.6.0-1
|
||||||
|
- Init package python3-neutron-tempest-plugin of version 0.6.0
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user