From 7b1a76b7700143737865f5b224692a777bb67e28 Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Aug 27 2018 09:42:34 +0000 Subject: Update to 2.9.0 --- diff --git a/.gitignore b/.gitignore index 080c485..8a1a78e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /python-designateclient-1.5.0.tar.gz /python-designateclient-2.0.0.tar.gz /python-designateclient-2.3.0.tar.gz +/python-designateclient-2.9.0.tar.gz diff --git a/Changelog.old b/Changelog.old index 99c0878..ee6a842 100644 --- a/Changelog.old +++ b/Changelog.old @@ -1,3 +1,28 @@ +* Fri Jul 13 2018 Fedora Release Engineering - 2.3.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 2.3.0-7 +- Rebuilt for Python 3.7 + +* Fri Mar 09 2018 Iryna Shcherbina - 2.3.0-6 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 2.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 2.3.0-2 +- Rebuild for Python 3.6 + +* Mon Sep 12 2016 Haikel Guemar 2.3.0-1 +- Update to 2.3.0 + * Sun Jul 31 2016 Haïkel Guémar - 2.0.0-3 - Add python3 subpackage diff --git a/python-designateclient.spec b/python-designateclient.spec index 77b05b9..5a57554 100644 --- a/python-designateclient.spec +++ b/python-designateclient.spec @@ -1,5 +1,7 @@ %{!?upstream_version: %global upstream_version %{version}%{?milestone}} -%global common_desc Client library and command line utility for interacting with Openstack Designate API + +%global common_desc \ +Client library and command line utility for interacting with Openstack Designate API %global sname designateclient @@ -8,18 +10,20 @@ %endif Name: python-%{sname} -Version: 2.3.0 -Release: 8%{?dist} +Version: 2.9.0 +Release: 1%{?dist} Summary: Python API and CLI for OpenStack Designate License: ASL 2.0 URL: https://launchpad.net/python-%{sname}/ -Source0: https://pypi.io/packages/source/p/%{name}/%{name}-%{version}.tar.gz +Source0: https://tarballs.openstack.org/%{name}/%{name}-%{upstream_version}.tar.gz BuildArch: noarch +BuildRequires: git + %description -Client library and command line utility for interacting with Openstack Designate API +%{common_desc} %package -n python2-%{sname} Summary: Python API and CLI for OpenStack Designate @@ -29,16 +33,21 @@ BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-pbr -Requires: python2-cliff -Requires: python2-jsonschema >= 2.0.0 Requires: python2-pbr -Requires: python2-keystoneauth1 -Requires: python2-requests >= 2.2.0 -Requires: python2-six >= 1.9.0 +Requires: python2-keystoneauth1 >= 3.3.0 +Requires: python2-requests >= 2.14.2 +Requires: python2-six >= 1.10.0 Requires: python2-stevedore -Requires: python2-osc-lib +Requires: python2-osc-lib >= 1.8.0 Requires: python2-debtcollector -Requires: python2-oslo-utils +Requires: python2-oslo-utils >= 3.33.0 +%if 0%{?fedora} > 0 +Requires: python2-cliff +Requires: python2-jsonschema >= 2.6.0 +%else +Requires: python-cliff +Requires: python-jsonschema >= 2.6.0 +%endif %description -n python2-%{sname} %{common_desc} @@ -65,15 +74,15 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr Requires: python3-cliff -Requires: python3-jsonschema >= 2.0.0 +Requires: python3-jsonschema >= 2.6.0 Requires: python3-pbr -Requires: python3-keystoneauth1 -Requires: python3-requests >= 2.2.0 -Requires: python3-six >= 1.9.0 +Requires: python3-keystoneauth1 >= 3.3.0 +Requires: python3-requests >= 2.14.2 +Requires: python3-six >= 1.10.0 Requires: python3-stevedore -Requires: python3-osc-lib +Requires: python3-osc-lib >= 1.8.0 Requires: python3-debtcollector -Requires: python3-oslo-utils +Requires: python3-oslo-utils >= 3.33.0 %description -n python3-%{sname} %{common_desc} @@ -82,7 +91,7 @@ Requires: python3-oslo-utils %package -n python3-%{sname}-tests Summary: Python API and CLI for OpenStack Designate (tests) %{?python_provide:%python_provide python3-%{sname}-tests} -Requires: python2-%{sname} = %{version}-%{release} +Requires: python3-%{sname} = %{version}-%{release} %description -n python3-%{sname}-tests %{common_desc} @@ -95,7 +104,14 @@ This package contains Designate client tests files. Summary: Documentation for OpenStack Designate API Client BuildRequires: python2-sphinx -BuildRequires: python2-oslo-sphinx +BuildRequires: python2-openstackdocstheme +BuildRequires: python2-keystoneauth1 +BuildRequires: python2-osc-lib +%if 0%{?fedora} > 0 +BuildRequires: python2-jsonschema +%else +BuildRequires: python-jsonschema +%endif %description doc %{common_desc} @@ -103,7 +119,7 @@ BuildRequires: python2-oslo-sphinx This package contains auto-generated documentation. %prep -%setup -q -n %{name}-%{upstream_version} +%autosetup -n %{name}-%{upstream_version} -S git rm -rf {,test-}requirements.txt @@ -127,8 +143,7 @@ ln -s ./designate-%{python2_version} %{buildroot}%{_bindir}/designate-2 ln -s ./designate-2 %{buildroot}%{_bindir}/designate -export PYTHONPATH="$( pwd ):$PYTHONPATH" -sphinx-build -b html doc/source html +%{__python2} setup.py build_sphinx -b html %files -n python2-%{sname} %doc README.rst @@ -158,32 +173,10 @@ sphinx-build -b html doc/source html %endif %files doc -%doc html +%doc doc/build/html %license LICENSE %changelog -* Fri Jul 13 2018 Fedora Release Engineering - 2.3.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 2.3.0-7 -- Rebuilt for Python 3.7 - -* Fri Mar 09 2018 Iryna Shcherbina - 2.3.0-6 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 2.3.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 2.3.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 2.3.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 2.3.0-2 -- Rebuild for Python 3.6 - -* Mon Sep 12 2016 Haikel Guemar 2.3.0-1 -- Update to 2.3.0 +* Sun Feb 11 2018 RDO 2.9.0-1 +- Update to 2.9.0 diff --git a/sources b/sources index 4f1d7f2..94a5a95 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ee726c2e4982d89333fe0f2b0db6d3df python-designateclient-2.3.0.tar.gz +SHA512 (python-designateclient-2.9.0.tar.gz) = 04460395cf1b76d8628001e185e9301cc4964e06a61576268beffe5fbc42196e1c4015d0f273357fb93fb7b5079975e356eb25fb144cd4c1d355e704a1948e9c