From 41f47395c999df45ea478e0d0186c24c7eca765e Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 25 Apr 2023 14:32:34 +0200 Subject: [PATCH] Resolves: #2189479 (Fails to build with Python 3.12) --- libpst.spec | 5 ++++- m4-python310.patch | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libpst.spec b/libpst.spec index c007f58..b479681 100644 --- a/libpst.spec +++ b/libpst.spec @@ -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 - 0.6.76-13 +- Resolves: #2189479 (Fails to build with Python 3.12) + * Mon Feb 20 2023 Jonathan Wakely - 0.6.76-12 - Rebuilt for Boost 1.81 diff --git a/m4-python310.patch b/m4-python310.patch index ed8aab4..5bf0609 100644 --- a/m4-python310.patch +++ b/m4-python310.patch @@ -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