[packages/libkolabxml] Python2 package so make it link with python2 lib.

arekm arekm at pld-linux.org
Sat May 24 20:08:07 CEST 2025


commit 488ef096db8cffb9e286462a51d146450ff309b0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat May 24 19:52:46 2025 +0200

    Python2 package so make it link with python2 lib.

 libkolabxml.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libkolabxml.spec b/libkolabxml.spec
index 3e8a22d..680db32 100644
--- a/libkolabxml.spec
+++ b/libkolabxml.spec
@@ -8,13 +8,14 @@
 Summary:	Kolab XML format collection parser library
 Name:		libkolabxml
 Version:	1.1.6
-Release:	19
+Release:	20
 License:	LGPL v3+
 Group:		Libraries
 Source0:	http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz
 # Source0-md5:	eec4b8bf117a6e263eed9ee800ae3aa6
 URL:		http://www.kolab.org/
 BuildRequires:	QtCore-devel
+BuildRequires:	QtTest-devel
 BuildRequires:	boost-devel
 BuildRequires:	cmake >= 2.6
 BuildRequires:	curl-devel
@@ -102,7 +103,8 @@ cd build
 %endif
 %if %{with python}
 	-DPYTHON_BINDINGS=ON \
-	-DPYTHON_INCLUDE_DIRS=%{python_include} \
+	-DPYTHON_INCLUDE_DIR=%{py_incdir} \
+	-DPYTHON_LIBRARY=$(echo %{_libdir}/libpython2.7.so*) \
 	-DPYTHON_INSTALL_DIR=%{py_sitedir} \
 %endif
 	..
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libkolabxml.git/commitdiff/488ef096db8cffb9e286462a51d146450ff309b0



More information about the pld-cvs-commit mailing list