update to 4.2.0
This commit is contained in:
parent
4f1f63acf6
commit
9dc80d4086
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
|
||||
Name: python-designateclient
|
||||
Version: 4.1.0
|
||||
Release: 3%{?dist}
|
||||
Summary: Python API and CLI for OpenStack Designate
|
||||
License: Apache-2.0
|
||||
URL: https://launchpad.net/python-designateclient/
|
||||
Source0: https://tarballs.openstack.org/python-designateclient/python-designateclient-4.1.0.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: git
|
||||
BuildRequires: openstack-macros
|
||||
|
||||
Name: python-designateclient
|
||||
Version: 4.2.0
|
||||
Release: 1
|
||||
Summary: OpenStack DNS-as-a-Service - Client
|
||||
License: Apache-2.0
|
||||
URL: https://docs.openstack.org/python-designateclient/latest
|
||||
Source0: https://files.pythonhosted.org/packages/05/1d/9ac01ddfbe5f63773996651fbc7fd27dd38f1bc49211f75ab7c20c37b8b0/python-designateclient-4.2.0.tar.gz
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Client library and command line utility for interacting with Openstack Designate API
|
||||
|
||||
%package -n python3-designateclient
|
||||
Summary: Python API and CLI for OpenStack Designate
|
||||
%{?python_provide:%python_provide python3-designateclient}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
|
||||
Requires: python3-pbr
|
||||
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-jsonschema >= 2.6.0
|
||||
|
||||
Summary: OpenStack DNS-as-a-Service - Client
|
||||
Provides: python-designateclient
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-wheel
|
||||
Requires: python3-cliff
|
||||
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
|
||||
Client library and command line utility for interacting with Openstack Designate API
|
||||
|
||||
|
||||
%package -n python3-designateclient-tests
|
||||
Summary: Python API and CLI for OpenStack Designate (tests)
|
||||
%{?python_provide:%python_provide python3-designateclient-tests}
|
||||
Requires: python3-designateclient = %{version}-%{release}
|
||||
|
||||
%description -n python3-designateclient-tests
|
||||
%package help
|
||||
Summary: Development documents and examples for python-designateclient
|
||||
Provides: python3-designateclient-doc
|
||||
%description help
|
||||
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
|
||||
%autosetup -n python-designateclient-4.1.0 -S git
|
||||
|
||||
%py_req_cleanup
|
||||
%autosetup -n python-designateclient-4.2.0
|
||||
|
||||
%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
|
||||
%py3_build
|
||||
|
||||
%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
|
||||
%license LICENSE
|
||||
%files -n python3-designateclient -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
%{python3_sitelib}/designateclient
|
||||
%exclude %{python3_sitelib}/designateclient/tests
|
||||
%{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
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%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>
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user