From 52e41e72b12f8757eaf0467a03aef113fcfc9e10 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Mon, 18 Nov 2024 20:24:12 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-kimap.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/kf5-kimap.spec b/kf5-kimap.spec index af372be..5df5ed2 100644 --- a/kf5-kimap.spec +++ b/kf5-kimap.spec @@ -10,7 +10,7 @@ Name: kf5-%{framework} Version: 23.08.4 -Release: 1 +Release: 2 Summary: The KIMAP Library License: GPLv2+ and LGPLv2+ @@ -63,16 +63,14 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -popd -%make_build -C %{_target_platform} + +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %find_lang %{name} --all-name --with-html @@ -104,6 +102,9 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||: %changelog +* Mon Nov 18 2024 ChenYanpan - 23.08.4-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 peijiankang - 23.08.4-1 - update verison to 23.08.4