!12 update version to 4.2.0
From: @zhangy1317 Reviewed-by: Signed-off-by:
This commit is contained in:
commit
9971487159
Binary file not shown.
BIN
python-designateclient-4.2.0.tar.gz
Normal file
BIN
python-designateclient-4.2.0.tar.gz
Normal file
Binary file not shown.
@ -1,103 +1,89 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-designateclient
|
Name: python-designateclient
|
||||||
Version: 4.1.0
|
Version: 4.2.0
|
||||||
Release: 3%{?dist}
|
Release: 1
|
||||||
Summary: Python API and CLI for OpenStack Designate
|
Summary: OpenStack DNS-as-a-Service - Client
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://launchpad.net/python-designateclient/
|
URL: https://docs.openstack.org/python-designateclient/latest
|
||||||
Source0: https://tarballs.openstack.org/python-designateclient/python-designateclient-4.1.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/05/1d/9ac01ddfbe5f63773996651fbc7fd27dd38f1bc49211f75ab7c20c37b8b0/python-designateclient-4.2.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: git
|
|
||||||
BuildRequires: openstack-macros
|
|
||||||
|
|
||||||
%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
|
||||||
|
|
||||||
%package -n python3-designateclient
|
%package -n python3-designateclient
|
||||||
Summary: Python API and CLI for OpenStack Designate
|
Summary: OpenStack DNS-as-a-Service - Client
|
||||||
%{?python_provide:%python_provide python3-designateclient}
|
Provides: python-designateclient
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pbr
|
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-pbr
|
||||||
Requires: python3-pbr
|
BuildRequires: python3-wheel
|
||||||
Requires: python3-keystoneauth1 >= 3.4.0
|
|
||||||
Requires: python3-requests >= 2.14.2
|
|
||||||
Requires: python3-six >= 1.10.0
|
|
||||||
Requires: python3-stevedore
|
|
||||||
Requires: python3-osc-lib >= 1.8.0
|
|
||||||
Requires: python3-debtcollector
|
|
||||||
Requires: python3-oslo-utils >= 3.33.0
|
|
||||||
Requires: python3-oslo-serialization >= 2.18.0
|
|
||||||
Requires: python3-cliff
|
Requires: python3-cliff
|
||||||
Requires: python3-jsonschema >= 2.6.0
|
Requires: python3-debtcollector
|
||||||
|
Requires: python3-jsonschema
|
||||||
|
Requires: python3-keystoneauth1
|
||||||
|
Requires: python3-osc-lib
|
||||||
|
Requires: python3-oslo-serialization
|
||||||
|
Requires: python3-oslo-utils
|
||||||
|
Requires: python3-pbr
|
||||||
|
Requires: python3-requests
|
||||||
|
Requires: python3-six
|
||||||
|
Requires: python3-stevedore
|
||||||
%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 -n python3-designateclient-tests
|
Summary: Development documents and examples for python-designateclient
|
||||||
Summary: Python API and CLI for OpenStack Designate (tests)
|
Provides: python3-designateclient-doc
|
||||||
%{?python_provide:%python_provide python3-designateclient-tests}
|
%description help
|
||||||
Requires: python3-designateclient = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python3-designateclient-tests
|
|
||||||
Client library and command line utility for interacting with Openstack Designate API
|
Client library and command line utility for interacting with Openstack Designate API
|
||||||
|
|
||||||
This package contains Designate client tests files.
|
|
||||||
|
|
||||||
%if 0%{?with_doc}
|
|
||||||
%package doc
|
|
||||||
Summary: Documentation for OpenStack Designate API Client
|
|
||||||
|
|
||||||
BuildRequires: python3-sphinx
|
|
||||||
BuildRequires: python3-openstackdocstheme
|
|
||||||
BuildRequires: python3-keystoneauth1
|
|
||||||
BuildRequires: python3-osc-lib
|
|
||||||
BuildRequires: python3-jsonschema
|
|
||||||
BuildRequires: python3-oslo-serialization
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
Client library and command line utility for interacting with Openstack Designate API
|
|
||||||
|
|
||||||
This package contains auto-generated documentation.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n python-designateclient-4.1.0 -S git
|
%autosetup -n python-designateclient-4.2.0
|
||||||
|
|
||||||
%py_req_cleanup
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{py3_build}
|
%py3_build
|
||||||
|
|
||||||
%if 0%{?with_doc}
|
|
||||||
PYTHONPATH=. sphinx-build-3 -b html doc/source doc/build/html
|
|
||||||
rm -fr doc/build/html/.{doctrees,buildinfo}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{py3_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-designateclient
|
%check
|
||||||
|
# %{__python3} setup.py test
|
||||||
|
|
||||||
%doc README.rst
|
%files -n python3-designateclient -f filelist.lst
|
||||||
%license LICENSE
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%{python3_sitelib}/designateclient
|
%files help -f doclist.lst
|
||||||
%exclude %{python3_sitelib}/designateclient/tests
|
%{_docdir}/*
|
||||||
%{python3_sitelib}/*.egg-info
|
|
||||||
|
|
||||||
%files -n python3-designateclient-tests
|
|
||||||
%{python3_sitelib}/designateclient/tests
|
|
||||||
|
|
||||||
%if 0%{?with_doc}
|
|
||||||
%files doc
|
|
||||||
%doc doc/build/html
|
|
||||||
%license LICENSE
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 09 2021 openstack-sig <openstack@openeuler.org>
|
||||||
|
- update to 4.2.0
|
||||||
|
|
||||||
* Thu Jan 07 2021 Python_Bot <Python_Bot@openeuler.org>
|
* Thu Jan 07 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user