From ff203e4e07701ff670c717b7392888a546fef093 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Mar 10 2021 12:42:46 +0000 Subject: Update to 0.12.0; drop python-absl-py-0.11.0-python-3.10.patch, now upstreamed --- diff --git a/.gitignore b/.gitignore index fbb24b5..0a72696 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /abseil-py-pypi-v0.11.0.tar.gz +/abseil-py-pypi-v0.12.0.tar.gz diff --git a/python-absl-py-0.11.0-python-3.10.patch b/python-absl-py-0.11.0-python-3.10.patch deleted file mode 100644 index 14bde92..0000000 --- a/python-absl-py-0.11.0-python-3.10.patch +++ /dev/null @@ -1,18 +0,0 @@ -Fix incorrect string-based version detection, which considered Python 3.10 as -“less than” Python 3.4. See RHBZ#1906811 upstream bug -https://github.com/abseil/abseil-py/issues/161. - -diff -Naur abseil-py-pypi-v0.11.0-original/setup.py abseil-py-pypi-v0.11.0/setup.py ---- abseil-py-pypi-v0.11.0-original/setup.py 2020-10-27 16:02:42.000000000 -0400 -+++ abseil-py-pypi-v0.11.0/setup.py 2020-12-11 10:33:46.954623328 -0500 -@@ -29,8 +29,8 @@ - use_setuptools() - import setuptools - --py_version = platform.python_version_tuple() --if py_version < ('2', '7') or py_version[0] == '3' and py_version < ('3', '4'): -+py_version = sys.version_info -+if py_version < (2, 7) or py_version[0] == 3 and py_version < (3, 4): - raise RuntimeError('Python version 2.7 or 3.4+ is required.') - - INSTALL_REQUIRES = [ diff --git a/python-absl-py.spec b/python-absl-py.spec index fe5e14b..56b2c2e 100644 --- a/python-absl-py.spec +++ b/python-absl-py.spec @@ -4,8 +4,8 @@ %global egginfo_name %(echo %{srcname} | tr - _) Name: python-%{srcname} -Version: 0.11.0 -Release: 5%{?dist} +Version: 0.12.0 +Release: 1%{?dist} Summary: Abseil Python Common Libraries # Overall license is ASL 2.0. Contents of absl/third_party/unittest3_backport/ @@ -14,11 +14,6 @@ License: ASL 2.0 and Python URL: https://github.com/abseil/%{reponame}/ Source0: %{url}/archive/pypi-v%{version}/%{reponame}-pypi-v%{version}.tar.gz -# Fix incorrect string-based version detection, which considered Python 3.10 as -# “less than” Python 3.4. See RHBZ#1906811 and upstream bug -# https://github.com/abseil/abseil-py/issues/161. -Patch0: python-absl-py-0.11.0-python-3.10.patch - BuildRequires: python3-devel >= 3.4 BuildRequires: python3dist(setuptools) BuildRequires: pyproject-rpm-macros @@ -100,6 +95,10 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib}; export PYTHONPATH %changelog +* Wed Mar 10 2021 Benjamin A. Beasley - 0.12.0-1 +- Update to 0.12.0 +- Drop python-absl-py-0.11.0-python-3.10.patch, now upstreamed + * Wed Jan 27 2021 Fedora Release Engineering - 0.11.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index e72e21f..e0fb653 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-py-pypi-v0.11.0.tar.gz) = 21164d3cda9cf172927de9703cda49a8bba38539237921be6905176ffbeb78d00fd60d1066d606e501a30f60dd6eef8d96e65d6345a0ac0698f8024836d36684 +SHA512 (abseil-py-pypi-v0.12.0.tar.gz) = 566cae120779920f8529eb797f9b26a662df0fa2ac853d78424e35d906f487069a945b2ad5a9a292aa90663e8c31c363925aa3114331f0f5f9fb479c79d781ac