Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
301efbe3cb
!19 Update package to version 2.1.0
From: @jxy_git 
Reviewed-by: @xiyuanwang 
Signed-off-by: @xiyuanwang
2022-12-05 03:49:24 +00:00
jxy_git
e621d7d17a Update package to version 2.1.0 2022-11-24 16:37:43 +08:00
openeuler-ci-bot
13f94c6756
!17 upgrade package for openstack yoga
From: @liksh 
Reviewed-by: @han-guangyu 
Signed-off-by: @han-guangyu
2022-07-29 06:01:04 +00:00
liksh
6754d093a3 upgrade for openstack yoga
Signed-off-by: liksh <li_kunshan@163.com>
2022-07-25 17:07:26 +08:00
openeuler-ci-bot
32caee936f !10 python-etcd3gw delete -S git from %autosetup
From: @chenyanpanHW
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
2021-08-02 03:24:37 +00:00
chenyanpanHW
ca7bcde788
delete -S git from %autosetup 2021-07-30 23:22:39 +08:00
openeuler-ci-bot
39b122511b !9 Downgrade to 0.2.5
From: @xiyuanwang
Reviewed-by: @huangtianhua
Signed-off-by: @huangtianhua
2021-07-20 01:42:56 +00:00
wangxiyuan
d7313d1bf3 Downgrade to 0.2.5 2021-07-20 01:30:57 +00:00
openeuler-ci-bot
6744227822 !1 Init the first release
From: @xiyuanwang
Reviewed-by: @huangtianhua
Signed-off-by: @huangtianhua
2021-02-23 20:02:53 +08:00
wangxiyuan
eaf114667b Init package 2021-02-23 11:54:00 +00:00
2 changed files with 98 additions and 0 deletions

BIN
etcd3gw-2.1.0.tar.gz Normal file

Binary file not shown.

98
python-etcd3gw.spec Normal file
View File

@ -0,0 +1,98 @@
%global _empty_manifest_terminate_build 0
Name: python-etcd3gw
Version: 2.1.0
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/41/ec/f9698c6c7ec74233e37231ce4ec2b6e215a07553bcc9ec7880583f3cb4e4/etcd3gw-2.1.0.tar.gz
BuildArch: noarch
%description
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
# 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
A python client for etcd3 grpc-gateway v3 API
%package help
Summary: A python client for etcd3 grpc-gateway v3 API
Provides: python3-etcd3gw-doc
%description help
A python client for etcd3 grpc-gateway v3 API
%prep
%autosetup -n etcd3gw-%{version} -p1
%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-etcd3gw -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Thu Nov 24 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.1.0-1
- Update package to version 2.1.0
* Fri Jul 22 2022 liksh <liks11@chinaunicom.cn> - 1.0.1-1
- Upgrade to 1.0.1 for openstack-Y
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.2.5-2
- DESC: delete -S git from %autosetup
* 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