Add support for Python 3.10

This commit is contained in:
Björn Esser 2021-08-05 18:35:26 +02:00
parent 8f355de961
commit 17bded5ffd
No known key found for this signature in database
GPG Key ID: F52E98007594C21D
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,13 @@
Index: autoconf-archive-2021.02.19/m4/ax_python.m4
===================================================================
--- autoconf-archive-2021.02.19.orig/m4/ax_python.m4
+++ autoconf-archive-2021.02.19/m4/ax_python.m4
@@ -55,7 +55,7 @@
AC_DEFUN([AX_PYTHON],
[AC_MSG_CHECKING(for python build information)
AC_MSG_RESULT([])
-for python in python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
+for python in python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
AC_CHECK_PROGS(PYTHON_BIN, [$python])
ax_python_bin=$PYTHON_BIN
if test x$ax_python_bin != x; then

View File

@ -1,6 +1,6 @@
Name: autoconf-archive
Version: 2021.02.19
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The Autoconf Macro Archive
License: GPLv3+ with exceptions
URL: https://www.gnu.org/software/autoconf-archive/
@ -14,6 +14,9 @@ BuildRequires: gnupg2
BuildRequires: make
Requires: autoconf
# Add support for Python 3.10
Patch0: autoconf-archive-2021.02.19-python_310.patch
%description
The GNU Autoconf Archive is a collection of more than 450 macros for
GNU Autoconf that have been contributed as free software by friendly
@ -41,6 +44,9 @@ rm -frv %{buildroot}%{_datadir}/doc/%{name}
%{_infodir}/autoconf-archive.info*
%changelog
* Thu Aug 05 2021 Björn Esser <besser82@fedoraproject.org> - 2021.02.19-3
- Add support for Python 3.10
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2021.02.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild