commit c11016afb4b4926cf0636ef16f8169448aa3bbfd
Author: Jan Rękorajski <[email protected]>
Date:   Sun Nov 3 17:36:36 2019 +0100

    - fix building with python 3.8
    - rel 4

 libpst.spec      |  4 +++-
 python-3.8.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libpst.spec b/libpst.spec
index 39866aa..f53b289 100644
--- a/libpst.spec
+++ b/libpst.spec
@@ -8,12 +8,13 @@ Summary:      Library for reading .pst files
 Summary(pl.UTF-8):     Biblioteka do czytania plików .pst
 Name:          libpst
 Version:       0.6.72
-Release:       3
+Release:       4
 License:       GPL v2+
 Group:         Libraries
 Source0:       
https://www.five-ten-sg.com/libpst/packages/%{name}-%{version}.tar.gz
 # Source0-md5: 0085c9769a163e7ac59dba6518e0cc1e
 Patch0:                %{name}-link.patch
+Patch1:                python-3.8.patch
 URL:           https://www.five-ten-sg.com/libpst/
 BuildRequires: ImageMagick
 BuildRequires: autoconf >= 2.60
@@ -106,6 +107,7 @@ Wiązania libpst dla Pythona 3.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/python-3.8.patch b/python-3.8.patch
new file mode 100644
index 0000000..f0daa1d
--- /dev/null
+++ b/python-3.8.patch
@@ -0,0 +1,11 @@
+--- libpst-0.6.72/m4/ax_python.m4~     2018-08-01 17:15:48.000000000 +0200
++++ libpst-0.6.72/m4/ax_python.m4      2019-11-03 17:34:35.669416660 +0100
+@@ -55,7 +55,7 @@
+ AC_DEFUN([AX_PYTHON],
+ [AC_MSG_CHECKING(for python build information)
+ AC_MSG_RESULT([])
+-for python in 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.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
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to