]> git.pld-linux.org Git - packages/libpst.git/commitdiff
- add python 3.10 to known versions
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Apr 2022 22:29:43 +0000 (00:29 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Apr 2022 22:29:43 +0000 (00:29 +0200)
libpst.spec
python3.10.patch [new file with mode: 0644]

index e5f6734e62997c50f079d0beb09853059d194e4c..fc47dcfae50ba30b418418f3ee0f8a485ff65895 100644 (file)
@@ -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 (file)
index 0000000..68da3f5
--- /dev/null
@@ -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
This page took 0.19814 seconds and 4 git commands to generate.