[packages/ka5-kopeninghours] - rel 6, python 3.13 rebuild

baggins baggins at pld-linux.org
Mon May 26 04:52:40 CEST 2025


commit d6afab56419cafba5eb70297614c354eb52917de
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon May 26 05:13:57 2025 +0200

    - rel 6, python 3.13 rebuild

 boost-includes.patch   | 11 +++++++++++
 ka5-kopeninghours.spec |  5 ++++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/ka5-kopeninghours.spec b/ka5-kopeninghours.spec
index 98ab1fd..80e2ce4 100644
--- a/ka5-kopeninghours.spec
+++ b/ka5-kopeninghours.spec
@@ -8,11 +8,12 @@
 Summary:	A library for parsing and evaluating OSM opening hours expressions
 Name:		ka5-%{kaname}
 Version:	23.08.5
-Release:	5
+Release:	6
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Libraries
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
 # Source0-md5:	6ff044dc9014c6f78ec27afccd5d8533
+Patch0:		boost-includes.patch
 URL:		https://community.kde.org/
 BuildRequires:	Qt5Core-devel >= 5.15.2
 BuildRequires:	Qt5Network-devel >= 5.15.2
@@ -55,6 +56,8 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
 
 %prep
 %setup -q -n %{kaname}-%{version}
+%patch -P0 -p1
+
 # correct python components install dir
 sed -i "s:set(_install_dir lib:set(_install_dir %{_libdir}:g" PyKOpeningHours/CMakeLists.txt
 
diff --git a/boost-includes.patch b/boost-includes.patch
new file mode 100644
index 0000000..3c0d1df
--- /dev/null
+++ b/boost-includes.patch
@@ -0,0 +1,11 @@
+--- kopeninghours-23.08.5/PyKOpeningHours/CMakeLists.txt.orig	2024-02-09 22:59:08.000000000 +0100
++++ kopeninghours-23.08.5/PyKOpeningHours/CMakeLists.txt	2025-05-26 05:13:08.626663629 +0200
+@@ -22,7 +22,7 @@
+ 
+ # Set up the libraries and header search paths for this target
+ target_link_libraries(PyKOpeningHours PUBLIC ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} KOpeningHours)
+-target_include_directories(PyKOpeningHours PRIVATE ${Boost_INCLUDE_DIR} ${PYTHON_INCLUDE_DIRS})
++target_include_directories(PyKOpeningHours PRIVATE ${BOOST_INCLUDE_DIR} ${PYTHON_INCLUDE_DIRS})
+ 
+ set(_install_dir lib/python${PYTHONLIBS_VERSION_MAJOR}.${PYTHONLIBS_VERSION_MINOR}/site-packages)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kopeninghours.git/commitdiff/d6afab56419cafba5eb70297614c354eb52917de



More information about the pld-cvs-commit mailing list