From bed12c4df3588f861755dc2a4d065460e31b3022 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:39:00 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure (cherry picked from commit a21727c49d4cf3124a9364c050b793aa5649a282) --- kf5-calendarsupport.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/kf5-calendarsupport.spec b/kf5-calendarsupport.spec index 1277b2a..a8740b4 100644 --- a/kf5-calendarsupport.spec +++ b/kf5-calendarsupport.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 23.08.4 -Release: 1 +Release: 2 Summary: KDE PIM library for calendar and even handling License: LGPLv2+ URL: https://invent.kde.org/pim/%{framework} @@ -69,14 +69,12 @@ developing applications that use %{name}. %autosetup -n %{framework}-%{version} %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd -%make_build -C %{_target_platform} +%{cmake_kf5} +%{cmake_build} + %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %find_lang %{name} --all-name --with-html %ldconfig_scriptlets @@ -94,6 +92,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{_kf5_libdir}/libKPim5CalendarSupport.so %changelog +* Fri Nov 15 2024 ChenYanpan - 23.08.4-2 +- adapt to the new CMake macros to fix build failure + * Fri Jan 19 2024 Tianze Li - 23.08.4-1 - Upgrade to 23.08.4 -- Gitee