From 80b70e892425d6fa29020425d6d78a4bfb2c40c2 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:40:34 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-kparts.spec | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/kf5-kparts.spec b/kf5-kparts.spec index 113718e..263aa6f 100644 --- a/kf5-kparts.spec +++ b/kf5-kparts.spec @@ -3,7 +3,7 @@ Name: kf5-%{framework} Version: 5.113.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 3 solution for KParts License: GPL-2.0-or-later @@ -48,17 +48,12 @@ developing applications that use %{name}. %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 mkdir -p %{buildroot}%{_kf5_plugindir}/parts/ @@ -85,6 +80,9 @@ mkdir -p %{buildroot}%{_kf5_plugindir}/parts/ %changelog +* Fri Nov 15 2024 ChenYanpan - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 peijiankang - 5.113.0-1 - update verison to 5.113.0 @@ -111,4 +109,3 @@ mkdir -p %{buildroot}%{_kf5_plugindir}/parts/ * Mon Aug 17 2020 yeqinglong - 5.55.0-1 - Initial release for OpenEuler -