From afb9d60eab3db5d810cae7f4915f5ab06b501a47 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Oct 28 2020 13:01:57 +0000 Subject: Sync from RDO victoria release from python-octaviaclient-2.2.0-2.el8 --- diff --git a/.gitignore b/.gitignore index 42460d9..c0398e1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ /python-octaviaclient-1.8.0.tar.gz /python-octaviaclient-1.10.0.tar.gz /python-octaviaclient-2.0.1.tar.gz +/python-octaviaclient-2.2.0.tar.gz +/0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt +/python-octaviaclient-2.2.0.tar.gz.asc diff --git a/python-octaviaclient.spec b/python-octaviaclient.spec index 1d24ea2..a53f7c0 100644 --- a/python-octaviaclient.spec +++ b/python-octaviaclient.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,15 +10,25 @@ Client for OpenStack Octavia (Load Balancer as a Service) Name: python-%{pypi_name} Version: 2.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Client for OpenStack Octavia (Load Balancer as a Service) License: ASL 2.0 URL: http://pypi.python.org/pypi/%{name} 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 + %description %{common_desc} @@ -96,6 +108,10 @@ OpenStack Octavia client tests This package contains the example client test files. %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 the dependencies @@ -141,6 +157,9 @@ stestr --test-path $OS_TEST_PATH run %{python3_sitelib}/%{pypi_name}/tests %changelog +* Wed Oct 28 2020 Alfredo Moralejo 2.2.0-2 +- Update to upstream version 2.2.0 + * Wed Oct 28 2020 Alfredo Moralejo 2.2.0-1 - Update to upstream version 2.2.0 diff --git a/sources b/sources index 48c8aca..0b86f9c 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ -SHA512 (python-octaviaclient-2.0.1.tar.gz) = 961e0d050d6e13e8d878b2957fb1e8c71402d54bc80bd3a56168bcfae568226f565845d71dd566c6242e7b598eb3ba72ed979ce82d81d4b9459a342c4ccb2c24 +SHA512 (python-octaviaclient-2.2.0.tar.gz) = f6707192dd9b281acb8f3124e9c1b6d02b037034677b7c3946e39b70c0f7600790a9d70fa8228c7aa120ba3187a8aa9ce48db0a0afa16a300befd37fd77f80f1 +SHA512 (0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt) = b7e6d9d398c3d0a825919714e15a4165aecc19107ca04a8e9435f5ce3b57d87255154d2c9a0bc83798580385e62e7b0cd57d8b0e7cb92950371ee36e31759cee +SHA512 (python-octaviaclient-2.2.0.tar.gz.asc) = 08544980959ad1191c1662ea6b7a16f8bf5bda9904c6c28eb9a310d72ab65b46c99150810a4bfba21af189bca6640457b8b145286fbcdaf8f8febbd8401689e2