diff --git a/.gitignore b/.gitignore index 3ccf825..7dbeb0e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ /oslo.log-3.42.3.tar.gz /oslo.log-3.44.1.tar.gz /oslo.log-4.1.1.tar.gz +/oslo.log-4.4.0.tar.gz +/0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt +/oslo.log-4.4.0.tar.gz.asc diff --git a/python-oslo-log.spec b/python-oslo-log.spec index 3e54b0f..de91cf8 100644 --- a/python-oslo-log.spec +++ b/python-oslo-log.spec @@ -1,3 +1,5 @@ +%{!?sources_gpg: %{!?dlrn:%global sources_gpg 1} } +%global sources_gpg_sign 0x2426b928085a020d8a90d0d879ab7008d0896c8a %{!?upstream_version: %global upstream_version %{version}%{?milestone}} @@ -14,15 +16,25 @@ support for context specific logging (like resource id’s etc). Tests for the Oslo Log handling library. Name: python-oslo-log -Version: 4.1.1 +Version: 4.4.0 Release: 2%{?dist} Summary: OpenStack Oslo Log library License: ASL 2.0 URL: http://launchpad.net/oslo Source0: https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{upstream_version}.tar.gz +# Required for tarball sources verification +%if 0%{?sources_gpg} == 1 +Source101: https://tarballs.openstack.org/%{pypi_name}/%{pypi_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 + %package -n python3-%{pkg_name} Summary: OpenStack Oslo Log library %{?python_provide:%python_provide python3-%{pkg_name}} @@ -99,6 +111,10 @@ Summary: Translation files for Oslo log library Translation files for Oslo log library %prep +# Required for tarball sources verification +%if 0%{?sources_gpg} == 1 +%{gpgverify} --keyring=%{SOURCE102} --signature=%{SOURCE101} --data=%{SOURCE0} +%endif %autosetup -n %{pypi_name}-%{upstream_version} -S git # Let RPM handle the dependencies rm -rf {test-,}requirements.txt @@ -113,7 +129,7 @@ PYTHONPATH=. sphinx-build-3 -W -b html doc/source doc/build/html rm -rf doc/build/html/.{doctrees,buildinfo} %endif # Generate i18n files -python3 setup.py compile_catalog -d build/lib/oslo_log/locale +python3 setup.py compile_catalog -d build/lib/oslo_log/locale --domain oslo_log %install %{py3_install} @@ -153,6 +169,9 @@ python3 setup.py test %license LICENSE %changelog +* Wed Oct 28 2020 Alfredo Moralejo 4.4.0-2 +- Update to upstream version 4.4.0 + * Wed Jul 29 2020 Fedora Release Engineering - 4.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 74a8f9d..5f2b0ac 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ -SHA512 (oslo.log-4.1.1.tar.gz) = 78aa02e7f9b322753d1318cb7b91b3403ecb7ab026bfee5b0402603bb9a9624851837c7e4fed8c8516192779328b5b2215055493216570643da36a5934f6cf04 +SHA512 (oslo.log-4.4.0.tar.gz) = 6501963e90d40d2e722f338ec7c78fa36f6b5b255d36fc5df7d6160d1f35397ff112b88053603f6b57d9d93539bdb665e3c1b6894f3898988fd8d06b5a356120 +SHA512 (0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt) = b7e6d9d398c3d0a825919714e15a4165aecc19107ca04a8e9435f5ce3b57d87255154d2c9a0bc83798580385e62e7b0cd57d8b0e7cb92950371ee36e31759cee +SHA512 (oslo.log-4.4.0.tar.gz.asc) = 2b409a377b711808344db3c3fe0c779ae4e0162e3a03824dc4c9e035d1ecc1d3316fc3fc40ae2f55075f8cbb917eb35fdc7ce1c466edc1b4f8fd6bbf4894a27d