!13 Init package python3-designateclient with version 3.0.0 for Train

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-11-09 11:05:27 +00:00 committed by Gitee
commit 3a63cf1de3
3 changed files with 48 additions and 39 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-designateclient Name: python-designateclient
Version: 4.2.0 Version: 3.0.0
Release: 1 Release: 1
Summary: OpenStack DNS-as-a-Service - Client Summary: OpenStack DNS-as-a-Service - Client
License: Apache-2.0 License: Apache-2.0
URL: https://docs.openstack.org/python-designateclient/latest URL: https://docs.openstack.org/python-designateclient/latest
Source0: https://files.pythonhosted.org/packages/05/1d/9ac01ddfbe5f63773996651fbc7fd27dd38f1bc49211f75ab7c20c37b8b0/python-designateclient-4.2.0.tar.gz Source0: https://files.pythonhosted.org/packages/bc/5d/29bdce104056c7f586ee7f221ba40e78d443ad2edc3025180fd68a76a1a3/python-designateclient-3.0.0.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
Client library and command line utility for interacting with Openstack Designate API Client library and command line utility for interacting with Openstack Designate API
@ -13,39 +13,53 @@ Client library and command line utility for interacting with Openstack Designate
%package -n python3-designateclient %package -n python3-designateclient
Summary: OpenStack DNS-as-a-Service - Client Summary: OpenStack DNS-as-a-Service - Client
Provides: python-designateclient Provides: python-designateclient
# Base build requires
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-pbr BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel BuildRequires: python3-wheel
# General requires
BuildRequires: python3-cliff
BuildRequires: python3-jsonschema
BuildRequires: python3-osc-lib
BuildRequires: python3-oslo-serialization
BuildRequires: python3-oslo-utils
BuildRequires: python3-keystoneauth1
BuildRequires: python3-requests
BuildRequires: python3-six
BuildRequires: python3-stevedore
BuildRequires: python3-debtcollector
# General requires
Requires: python3-cliff Requires: python3-cliff
Requires: python3-debtcollector
Requires: python3-jsonschema Requires: python3-jsonschema
Requires: python3-keystoneauth1
Requires: python3-osc-lib Requires: python3-osc-lib
Requires: python3-oslo-serialization Requires: python3-oslo-serialization
Requires: python3-oslo-utils Requires: python3-oslo-utils
Requires: python3-pbr Requires: python3-pbr
Requires: python3-keystoneauth1
Requires: python3-requests Requires: python3-requests
Requires: python3-six Requires: python3-six
Requires: python3-stevedore Requires: python3-stevedore
Requires: python3-debtcollector
%description -n python3-designateclient %description -n python3-designateclient
Client library and command line utility for interacting with Openstack Designate API Client library and command line utility for interacting with Openstack Designate API
%package help %package help
Summary: Development documents and examples for python-designateclient Summary: OpenStack DNS-as-a-Service - Client
Provides: python3-designateclient-doc Provides: python3-designateclient-doc
%description help %description help
Client library and command line utility for interacting with Openstack Designate API Client library and command line utility for interacting with Openstack Designate API
%prep %prep
%autosetup -n python-designateclient-4.2.0 %autosetup -n python-designateclient-%{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
@ -72,8 +86,6 @@ popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check
# %{__python3} setup.py test
%files -n python3-designateclient -f filelist.lst %files -n python3-designateclient -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -82,8 +94,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Jul 09 2021 openstack-sig <openstack@openeuler.org> * Mon Nov 08 2021 OpenStack_SIG <openstack@openeuler.org> - 3.0.0-1
- update to 4.2.0 - Init package python3-designateclient with version 3.0.0 for Train
* Thu Jan 07 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated