[packages/libpst] - add python 3.10 to known versions

baggins baggins at pld-linux.org
Mon Apr 4 00:29:59 CEST 2022


commit 0b7fd0ba5902313026f717a3aa0c6db28206a276
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Apr 4 00:29:43 2022 +0200

    - add python 3.10 to known versions

 libpst.spec      |  2 ++
 python3.10.patch | 11 +++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/libpst.spec b/libpst.spec
index e5f6734..fc47dcf 100644
--- a/libpst.spec
+++ b/libpst.spec
@@ -13,6 +13,7 @@ License:	GPL v2+
 Group:		Libraries
 Source0:	https://www.five-ten-sg.com/libpst/packages/%{name}-%{version}.tar.gz
 # Source0-md5:	e821b94e8d7790ee314059f751182ebf
+Patch0:		python3.10.patch
 URL:		https://www.five-ten-sg.com/libpst/
 BuildRequires:	ImageMagick
 BuildRequires:	autoconf >= 2.60
@@ -104,6 +105,7 @@ Wiązania libpst dla Pythona 3.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/python3.10.patch b/python3.10.patch
new file mode 100644
index 0000000..68da3f5
--- /dev/null
+++ b/python3.10.patch
@@ -0,0 +1,11 @@
+--- libpst-0.6.76/m4/ax_python.m4~	2021-03-28 01:08:05.000000000 +0100
++++ libpst-0.6.76/m4/ax_python.m4	2022-04-04 00:27:48.636121929 +0200
+@@ -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.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.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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libpst.git/commitdiff/0b7fd0ba5902313026f717a3aa0c6db28206a276



More information about the pld-cvs-commit mailing list