From 0f2906c7bed179ab97af9103e030cfd619f5568d Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 15:47:21 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- kf5-kontactinterface.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-kontactinterface.spec b/kf5-kontactinterface.spec index 17162c9..cbec659 100644 --- a/kf5-kontactinterface.spec +++ b/kf5-kontactinterface.spec @@ -10,7 +10,7 @@ Name: kf5-%{framework} Version: 23.08.5 -Release: 1 +Release: 2 Summary: The Kontact Interface Library License: LGPLv2+ @@ -60,16 +60,13 @@ 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 @@ -99,6 +96,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %changelog +* Thu Nov 21 2024 tangjie02 - 23.08.5-2 +- adapt to the new CMake macros to fix build failure + * Mon Mar 18 2024 peijiankang - 23.08.5-1 - update verison to 23.08.5 -- Gitee