From 69d2bf50ee7e885f212c1052963b455eb963dde4 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 15:46:27 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- kf5-kldap.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-kldap.spec b/kf5-kldap.spec index b5e9e2d..4152e06 100644 --- a/kf5-kldap.spec +++ b/kf5-kldap.spec @@ -8,7 +8,7 @@ Name: kf5-%{framework} Version: 23.08.5 -Release: 1 +Release: 2 Summary: The KLDAP Library License: LGPLv2+ URL: https://api.kde.org/kdepim/kldap/html @@ -65,15 +65,12 @@ developing applications that use %{name}. %autosetup -n %{framework}-%{version} -p1 %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 @@ -103,6 +100,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 + * Fri Mar 15 2024 peijiankang - 23.08.5-1 - update verison to 23.08.5 -- Gitee