111 lines
4.2 KiB
RPMSpec
111 lines
4.2 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
Name: python-cinder-tempest-plugin
|
|
Version: 0.3.0
|
|
Release: 1
|
|
Summary: Tempest plugin tests for Cinder.
|
|
License: Apache-2.0
|
|
URL: http://www.openstack.org/
|
|
Source0: https://files.pythonhosted.org/packages/87/2c/89149579e39530794a7cb6e8b430a2c0bab2a617c3985c74a457ad1e297b/cinder-tempest-plugin-0.3.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-six
|
|
BuildRequires: python3-oslo-serialization
|
|
BuildRequires: python3-tempest
|
|
# General requires
|
|
Requires: python3-pbr
|
|
Requires: python3-oslo-config
|
|
Requires: python3-six
|
|
Requires: python3-oslo-serialization
|
|
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-%{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 .
|
|
|
|
|
|
%files -n python3-cinder-tempest-plugin -f filelist.lst
|
|
%dir %{python3_sitelib}/*
|
|
|
|
%files help -f doclist.lst
|
|
%{_docdir}/*
|
|
|
|
%changelog
|
|
* Fri Nov 05 2021 OpenStack_SIG <openstack@openeuler.org> - 0.3.0-1
|
|
- Upgrade package python3-cinder-tempest-plugin to version 0.3.0
|
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.4.0-2
|
|
- DESC: delete -S git from %autosetup
|
|
|
|
* Wed Jul 14 2021 OpenStack_SIG <openstack@openeuler.org> - 1.4.0-1
|
|
- Package Spec generate
|