Resolves: #2189479 (Fails to build with Python 3.12)

This commit is contained in:
Milan Crha 2023-04-25 14:32:34 +02:00
parent 30a864f870
commit 41f47395c9
2 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@
Summary: Utilities to convert Outlook .pst files to other formats
Name: libpst
Version: 0.6.76
Release: 12%{?dist}
Release: 13%{?dist}
License: GPL-2.0-or-later
URL: http://www.five-ten-sg.com/%{name}/
Source: %{url}/packages/%{name}-%{version}.tar.gz
@ -216,6 +216,9 @@ rm %{buildroot}%{_mandir}/man1/pst2dii.1*
%changelog
* Tue Apr 25 2023 Milan Crha <mcrha@redhat.com> - 0.6.76-13
- Resolves: #2189479 (Fails to build with Python 3.12)
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 0.6.76-12
- Rebuilt for Boost 1.81

View File

@ -22,7 +22,7 @@ index 7c9f511f..c2577905 100644
[AC_MSG_CHECKING(for python build information)
AC_MSG_RESULT([])
-for python in python3.9 python3.8 python3.7 python3.6 python3.5 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.11 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
+for python in python3.15 python3.14 python3.13 python3.12 python3.11 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