[packages/ka5-cantor] - fix building with python 3.8 - rel 3
baggins
baggins at pld-linux.org
Sun Nov 3 14:39:42 CET 2019
commit 3d7a1dd84f9b7776a81dee95fb2b79230303d8b1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Nov 3 14:38:07 2019 +0100
- fix building with python 3.8
- rel 3
ka5-cantor.spec | 4 +++-
python-3.8.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/ka5-cantor.spec b/ka5-cantor.spec
index 5ee5201..c6695df 100644
--- a/ka5-cantor.spec
+++ b/ka5-cantor.spec
@@ -13,11 +13,12 @@
Summary: Cantor
Name: ka5-%{kaname}
Version: 19.04.1
-Release: 2
+Release: 3
License: GPL v2+/LGPL v2.1+
Group: X11/Libraries
Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
# Source0-md5: 0a2d78da9b7a785adeddd1094e9bbe67
+Patch0: python-3.8.patch
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel
@@ -92,6 +93,7 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
%prep
%setup -q -n %{kaname}-%{version}
+%patch0 -p1
%build
install -d build
diff --git a/python-3.8.patch b/python-3.8.patch
new file mode 100644
index 0000000..2de8f0a
--- /dev/null
+++ b/python-3.8.patch
@@ -0,0 +1,11 @@
+--- cantor-19.04.1/cmake/FindPythonLibs3.cmake~ 2019-05-02 22:14:10.000000000 +0200
++++ cantor-19.04.1/cmake/FindPythonLibs3.cmake 2019-11-03 14:34:28.109784898 +0100
+@@ -6,7 +6,7 @@
+ find_library(PYTHONLIBS3_LIBRARY NAMES python32 python33 python34 python35 python36 python37
+ HINTS ${PYTHONLIBS3_LIBDIR} ${PYTHONLIBS3_LIBRARY_DIRS} )
+ ELSE()
+- find_library(PYTHONLIBS3_LIBRARY NAMES python3.2m python3.3m python3.4m python3.5m python3.6m python3.7m
++ find_library(PYTHONLIBS3_LIBRARY NAMES python3.2m python3.3m python3.4m python3.5m python3.6m python3.7m python3.8m python3.8
+ HINTS ${PYTHONLIBS3_LIBDIR} ${PYTHONLIBS3_LIBRARY_DIRS} )
+ ENDIF()
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-cantor.git/commitdiff/3d7a1dd84f9b7776a81dee95fb2b79230303d8b1
More information about the pld-cvs-commit
mailing list