From c2fcfd69b3b7fcb39b188d87107608b50c9a1cd1 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:44:05 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-pimcommon.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kf5-pimcommon.spec b/kf5-pimcommon.spec index dc27d39..1ffe2fe 100644 --- a/kf5-pimcommon.spec +++ b/kf5-pimcommon.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 23.08.4 -Release: 1 +Release: 2 Summary: PIM common libraries License: GPLv2+ @@ -109,15 +109,12 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd +%{cmake_kf5} +%{cmake_build} -%make_build -C %{_target_platform} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %find_lang %{name} --all-name --with-html @@ -148,6 +145,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Fri Nov 15 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 @@ -156,4 +156,3 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} * Tue Apr 18 2023 peijiankang - 22.12.0-1 - Init Package for openEuler -