PEP 641: Use an underscore in the version portion of Python 3.10 compatibility tag

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1891840
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1899553
This commit is contained in:
Miro Hrončok 2020-11-24 12:54:54 +01:00
commit 3c38aad354
2 changed files with 85 additions and 1 deletions

View file

@ -8,7 +8,7 @@
Name: python-%{pypi_name}
Version: 20.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Core utilities for Python packages
License: BSD or ASL 2.0
@ -19,6 +19,9 @@ BuildArch: noarch
# Remove dependency on six to make package lighter, backported from upstream
Patch1: %{url}/commit/39a70cce.patch
# PEP 641: Use an underscore in the version portion of Python 3.10 compatibility tag
Patch2: %{url}/pull/354.patch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pyproject-rpm-macros
@ -108,6 +111,11 @@ rm -rf html/_static/fonts/
%changelog
* Tue Nov 24 2020 Miro Hrončok <mhroncok@redhat.com> - 20.4-4
- PEP 641: Use an underscore in the version portion of Python 3.10 compatibility tag
- Resolves: rhbz#1891840
- Resolves: rhbz#1899553
* Fri Oct 02 2020 Miro Hrončok <mhroncok@redhat.com> - 20.4-3
- Drop the dependency on six to make the package lighter