!9 Downgrade to 0.2.5

From: @xiyuanwang
Reviewed-by: @huangtianhua
Signed-off-by: @huangtianhua
This commit is contained in:
openeuler-ci-bot 2021-07-20 01:42:56 +00:00 committed by Gitee
commit 39b122511b
3 changed files with 39 additions and 30 deletions

BIN
etcd3gw-0.2.5.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,45 +1,52 @@
%global _empty_manifest_terminate_build 0
Name: python-etcd3gw
Version: 0.2.6
Release: 1
Summary: A python client for etcd3 grpc-gateway v3 API
License: Apache-2.0
URL: https://github.com/dims/etcd3-gateway
Source0: https://files.pythonhosted.org/packages/3b/1a/155c139adcf50c382f7ff8eb5a00b5aa725ee8ea438ec2b8109dfe67be9b/etcd3gw-0.2.6.tar.gz
BuildArch: noarch
Requires: python3-pbr
Requires: python3-urllib3
Requires: python3-requests
Requires: python3-six
Requires: python3-futurist
Name: python-etcd3gw
Version: 0.2.5
Release: 1
Summary: A python client for etcd3 grpc-gateway v3 API
License: Apache-2.0
URL: https://github.com/dims/etcd3-gateway
Source0: https://files.pythonhosted.org/packages/ea/17/a6f33e3681ec7c07b5885a636cf601b03486e7184eb1f419bd99617f6560/etcd3gw-0.2.5.tar.gz
BuildArch: noarch
%description
# etcd3 gateway Python Client
A python client for etcd3 grpc-gateway v3 API
%package -n python3-etcd3gw
Summary: A python client for etcd3 grpc-gateway v3 API
Provides: python-etcd3gw
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Summary: A python client for etcd3 grpc-gateway v3 API
Provides: python-etcd3gw
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-dulwich
# General requires
BuildRequires: python3-urllib3
BuildRequires: python3-requests
BuildRequires: python3-six
BuildRequires: python3-futurist
# General requires
Requires: python3-pbr
Requires: python3-urllib3
Requires: python3-requests
Requires: python3-six
Requires: python3-futurist
%description -n python3-etcd3gw
# etcd3 gateway Python Client
A python client for etcd3 grpc-gateway v3 API
%package help
Summary: Development documents and examples for etcd3gw
Provides: python3-etcd3gw-doc
Summary: A python client for etcd3 grpc-gateway v3 API
Provides: python3-etcd3gw-doc
%description help
# etcd3 gateway Python Client
A python client for etcd3 grpc-gateway v3 API
%prep
%autosetup -n etcd3gw-0.2.6
%autosetup -n etcd3gw-0.2.5 -S git
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
@ -49,20 +56,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 .
@ -75,5 +82,7 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 0.2.5-1
- Downgrade to 0.2.5
* Tue Feb 23 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated