!9 Upgrade package tooz to version 2.8.1 for OpenStack Wallaby support

From: @sean-lau
Reviewed-by: 
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2021-08-19 01:38:30 +00:00 committed by Gitee
commit 18ae2f2d8e
3 changed files with 69 additions and 51 deletions

View File

@ -1,75 +1,89 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-tooz Name: python-tooz
Version: 2.8.0 Version: 2.8.1
Release: 2 Release: 1
Summary: Coordination library for distributed systems. Summary: Coordination library for distributed systems.
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/openstack/tooz URL: https://docs.openstack.org/tooz/latest/
Source0: https://files.pythonhosted.org/packages/e7/43/989e7a77be0b25dad744cb9712ef458bfe27b1c3dd58de298e88993e41d0/tooz-2.8.0.tar.gz Source0: https://files.pythonhosted.org/packages/e1/57/73d12ac9f49f6881f35144e299e8d61c706a9e4a72b18b2117ab9ef8f76c/tooz-2.8.1.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-fasteners
Requires: python3-futurist
Requires: python3-msgpack
Requires: python3-pbr
Requires: python3-stevedore
Requires: python3-tenacity
Requires: python3-voluptuous
Requires: python3-consul2
Requires: python3-requests
Requires: python3-etcd3
Requires: python3-grpcio
Requires: python3-etcd3gw
Requires: python3-sysv-ipc
Requires: python3-pymemcache
Requires: python3-PyMySQL
Requires: python3-psycopg2
Requires: python3-redis
Requires: python3-coverage
Requires: python3-ddt
Requires: python3-fixtures
Requires: python3-nose
Requires: python3-pifpaf
Requires: python3-pre-commit
Requires: python3-subunit
Requires: python3-stestr
Requires: python3-testtools
Requires: python3-zake
Requires: python3-kazoo
%description %description
The Tooz project aims at centralizing the most common distributed primitives The Tooz project aims at centralizing the most common distributed primitives
like group membership protocol, lock service and leader election by providing like group membership protocol, lock service and leader election by providing
a coordination API helping developers to build distributed applications. a coordination API helping developers to build distributed applications.
%package -n python3-tooz %package -n python3-tooz
Summary: Coordination library for distributed systems. Summary: Coordination library for distributed systems.
Provides: python-tooz Provides: python-tooz
BuildRequires: python3-devel # Base build requires
BuildRequires: python3-setuptools BuildRequires: python3-devel
BuildRequires: python3-pip BuildRequires: python3-setuptools
BuildRequires: python3-pbr BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-fasteners
BuildRequires: python3-futurist
BuildRequires: python3-msgpack
BuildRequires: python3-oslo-serialization
BuildRequires: python3-oslo-utils
BuildRequires: python3-stevedore
BuildRequires: python3-tenacity
BuildRequires: python3-voluptuous
BuildRequires: python3-requests
BuildRequires: python3-etcd3
BuildRequires: python3-grpcio
BuildRequires: python3-etcd3gw
BuildRequires: python3-sysv-ipc
BuildRequires: python3-pymemcache
BuildRequires: python3-PyMySQL
BuildRequires: python3-psycopg2
BuildRequires: python3-redis
BuildRequires: python3-zake
BuildRequires: python3-kazoo
# General requires
Requires: python3-fasteners
Requires: python3-futurist
Requires: python3-msgpack
Requires: python3-oslo-serialization
Requires: python3-oslo-utils
Requires: python3-pbr
Requires: python3-stevedore
Requires: python3-tenacity
Requires: python3-voluptuous
Requires: python3-requests
Requires: python3-etcd3
Requires: python3-grpcio
Requires: python3-etcd3gw
Requires: python3-sysv-ipc
Requires: python3-pymemcache
Requires: python3-PyMySQL
Requires: python3-psycopg2
Requires: python3-redis
Requires: python3-zake
Requires: python3-kazoo
%description -n python3-tooz %description -n python3-tooz
The Tooz project aims at centralizing the most common distributed primitives The Tooz project aims at centralizing the most common distributed primitives
like group membership protocol, lock service and leader election by providing like group membership protocol, lock service and leader election by providing
a coordination API helping developers to build distributed applications. a coordination API helping developers to build distributed applications.
%package help %package help
Summary: Development documents and examples for tooz Summary: Coordination library for distributed systems.
Provides: python3-tooz-doc Provides: python3-tooz-doc
%description help %description help
The Tooz project aims at centralizing the most common distributed primitives The Tooz project aims at centralizing the most common distributed primitives
like group membership protocol, lock service and leader election by providing like group membership protocol, lock service and leader election by providing
a coordination API helping developers to build distributed applications. a coordination API helping developers to build distributed applications.
%prep %prep
%autosetup -n tooz-2.8.0 %autosetup -n tooz-%{version}
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -77,20 +91,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/lib64 ]; then if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/bin ]; then if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/sbin ]; then if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
touch doclist.lst touch doclist.lst
if [ -d usr/share/man ]; then if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi fi
popd popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
@ -103,7 +117,11 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Aug 09 2021 OpenStack_SIG <openstack@openeuler.org> - 2.8.1-1
- Package Spec generate
* Thu Jan 28 2021 zhangy <zhangy1317@foxmail.com> * Thu Jan 28 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires - Add buildrequires
* Thu Dec 31 2020 Python_Bot <Python_Bot@openeuler.org> * Thu Dec 31 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated

Binary file not shown.

BIN
tooz-2.8.1.tar.gz Normal file

Binary file not shown.