From ab1e0c2337cce75311579f078bdf1bcedbbde12a Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Oct 28 2020 13:56:24 +0000 Subject: Sync from RDO victoria release from python-barbicanclient-5.0.1-2.el8 --- diff --git a/.gitignore b/.gitignore index bae9958..c93718c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ /python-barbicanclient-4.8.1.tar.gz /python-barbicanclient-4.9.0.tar.gz /python-barbicanclient-4.10.0.tar.gz +/python-barbicanclient-5.0.1.tar.gz +/0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt +/python-barbicanclient-5.0.1.tar.gz.asc diff --git a/python-barbicanclient.spec b/python-barbicanclient.spec index 9679526..aecf532 100644 --- a/python-barbicanclient.spec +++ b/python-barbicanclient.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 @@ -10,16 +12,26 @@ Python library for accessing the API (barbicanclient module), and \ a command-line script (barbican). Name: python-barbicanclient -Version: 4.10.0 +Version: 5.0.1 Release: 2%{?dist} Summary: Client Library for OpenStack Barbican Key Management API License: ASL 2.0 URL: https://pypi.python.org/pypi/python-barbicanclient 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 %{common_desc} @@ -61,6 +73,10 @@ Documentation for the barbicanclient module %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 # let RPM handle deps sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py @@ -87,7 +103,7 @@ ln -s ./barbican %{buildroot}%{_bindir}/barbican-3 %{_bindir}/barbican %{_bindir}/barbican-3 %{python3_sitelib}/barbicanclient -%{python3_sitelib}/python_barbicanclient-%{upstream_version}-py%{python3_version}.egg-info +%{python3_sitelib}/python_barbicanclient-%{upstream_version}-py?.?.egg-info %if 0%{?with_doc} %files -n python-%{sname}-doc @@ -96,6 +112,9 @@ ln -s ./barbican %{buildroot}%{_bindir}/barbican-3 %endif %changelog +* Wed Oct 28 2020 Alfredo Moralejo 5.0.1-2 +- Update to upstream version 5.0.1 + * Tue Jul 28 2020 Fedora Release Engineering - 4.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 23138ce..6a81f0f 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ -SHA512 (python-barbicanclient-4.10.0.tar.gz) = c1b098b1675e396e5caeab376f047316f0c8e63520a28a4dc1d0e2063d352bef3a85ac43271c9a7e96cc7cfe7af2ee0b410ed2bb1545fcc3872d93aade9da762 +SHA512 (python-barbicanclient-5.0.1.tar.gz) = 5ab164e92b1d2820b5f84b59748e3fdf0733c587e6c4a9a17cb34cb95ab7a3900430790b50ce40b479a9f39e599a0969e3e8d1c5255ed6c595a287019a736663 +SHA512 (0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt) = b7e6d9d398c3d0a825919714e15a4165aecc19107ca04a8e9435f5ce3b57d87255154d2c9a0bc83798580385e62e7b0cd57d8b0e7cb92950371ee36e31759cee +SHA512 (python-barbicanclient-5.0.1.tar.gz.asc) = 6482f011841bbc1607336b9aba932751997ac3c4803dc10b13f29b363e9af8fc5ad50d6d33ef6b75eb95e66fae5055d8a8eaee9602338c6edfceffc8693a0762