diff --git a/.gitignore b/.gitignore index 8a26138..d9ee554 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ /python-designateclient-2.11.0.tar.gz /python-designateclient-3.0.0.tar.gz /python-designateclient-4.0.0.tar.gz +/python-designateclient-4.1.0.tar.gz +/0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt +/python-designateclient-4.1.0.tar.gz.asc diff --git a/python-designateclient.spec b/python-designateclient.spec index 93e78e0..5bc0ccf 100644 --- a/python-designateclient.spec +++ b/python-designateclient.spec @@ -1,3 +1,5 @@ +%{!?sources_gpg: %{!?dlrn:%global sources_gpg 1} } +%global sources_gpg_sign 0x2426b928085a020d8a90d0d879ab7008d0896c8a %{!?upstream_version: %global upstream_version %{version}%{?milestone}} %global with_doc 1 @@ -8,16 +10,26 @@ Client library and command line utility for interacting with Openstack Designate %global sname designateclient Name: python-%{sname} -Version: 4.0.0 +Version: 4.1.0 Release: 2%{?dist} Summary: Python API and CLI for OpenStack Designate License: ASL 2.0 URL: https://launchpad.net/python-%{sname}/ Source0: https://tarballs.openstack.org/%{name}/%{name}-%{upstream_version}.tar.gz +# Required for tarball sources verification +%if 0%{?sources_gpg} == 1 +Source101: https://tarballs.openstack.org/%{name}/%{name}-%{upstream_version}.tar.gz.asc +Source102: https://releases.openstack.org/_static/%{sources_gpg_sign}.txt +%endif BuildArch: noarch +# Required for tarball sources verification +%if 0%{?sources_gpg} == 1 +BuildRequires: /usr/bin/gpgv2 +%endif + BuildRequires: git %description @@ -75,6 +87,10 @@ This package contains auto-generated documentation. %endif %prep +# Required for tarball sources verification +%if 0%{?sources_gpg} == 1 +%{gpgverify} --keyring=%{SOURCE102} --signature=%{SOURCE101} --data=%{SOURCE0} +%endif %autosetup -n %{name}-%{upstream_version} -S git rm -rf *requirements.txt @@ -110,6 +126,9 @@ rm -fr doc/build/html/.{doctrees,buildinfo} %endif %changelog +* Wed Oct 28 2020 Alfredo Moralejo 4.1.0-2 +- Update to upstream version 4.1.0 + * Wed Jul 29 2020 Fedora Release Engineering - 4.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 942107d..878ef4c 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ -SHA512 (python-designateclient-4.0.0.tar.gz) = b6a11c14219a65da059a4d55822d954b96d553c3dc30a0657a3cff1a309715c4d7f009e81ac54820a4d6f27451105833123fb89513cc7309cc09c124d7e15d26 +SHA512 (python-designateclient-4.1.0.tar.gz) = ae99fcf662b81ec0d14c3536dddd51e3b2f945ff5e62669efd1e2f0ad1f820884f427af6b9112c3fae5e7d0953f2008132e6e6e9fc1ad7b155c993a62434b90b +SHA512 (0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt) = b7e6d9d398c3d0a825919714e15a4165aecc19107ca04a8e9435f5ce3b57d87255154d2c9a0bc83798580385e62e7b0cd57d8b0e7cb92950371ee36e31759cee +SHA512 (python-designateclient-4.1.0.tar.gz.asc) = cf92b5705bde886f1b686735ffe6082b1e6994486c28eddbd940e7638243af075ec1eb9c3631e9e68b432b400a422714d596ed3f641565e2ff571976d1feef1d