diff --git a/python-tooz.spec b/python-tooz.spec index 6b672d6..4032e72 100644 --- a/python-tooz.spec +++ b/python-tooz.spec @@ -1,75 +1,89 @@ %global _empty_manifest_terminate_build 0 -Name: python-tooz -Version: 2.8.0 -Release: 2 -Summary: Coordination library for distributed systems. -License: Apache-2.0 -URL: https://github.com/openstack/tooz -Source0: https://files.pythonhosted.org/packages/e7/43/989e7a77be0b25dad744cb9712ef458bfe27b1c3dd58de298e88993e41d0/tooz-2.8.0.tar.gz -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 - +Name: python-tooz +Version: 2.8.1 +Release: 1 +Summary: Coordination library for distributed systems. +License: Apache-2.0 +URL: https://docs.openstack.org/tooz/latest/ +Source0: https://files.pythonhosted.org/packages/e1/57/73d12ac9f49f6881f35144e299e8d61c706a9e4a72b18b2117ab9ef8f76c/tooz-2.8.1.tar.gz +BuildArch: noarch %description The Tooz project aims at centralizing the most common distributed primitives like group membership protocol, lock service and leader election by providing a coordination API helping developers to build distributed applications. %package -n python3-tooz -Summary: Coordination library for distributed systems. -Provides: python-tooz -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip +Summary: Coordination library for distributed systems. +Provides: python-tooz +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools 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 The Tooz project aims at centralizing the most common distributed primitives like group membership protocol, lock service and leader election by providing a coordination API helping developers to build distributed applications. %package help -Summary: Development documents and examples for tooz -Provides: python3-tooz-doc +Summary: Coordination library for distributed systems. +Provides: python3-tooz-doc %description help The Tooz project aims at centralizing the most common distributed primitives like group membership protocol, lock service and leader election by providing a coordination API helping developers to build distributed applications. %prep -%autosetup -n tooz-2.8.0 +%autosetup -n tooz-%{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 @@ -77,20 +91,20 @@ 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 + 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 + 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 + 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 + 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 + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -103,7 +117,11 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 09 2021 OpenStack_SIG - 2.8.1-1 +- Package Spec generate + * Thu Jan 28 2021 zhangy - Add buildrequires + * Thu Dec 31 2020 Python_Bot - Package Spec generated diff --git a/tooz-2.8.0.tar.gz b/tooz-2.8.0.tar.gz deleted file mode 100644 index 8a1c078..0000000 Binary files a/tooz-2.8.0.tar.gz and /dev/null differ diff --git a/tooz-2.8.1.tar.gz b/tooz-2.8.1.tar.gz new file mode 100644 index 0000000..ac95969 Binary files /dev/null and b/tooz-2.8.1.tar.gz differ