From 63c27fce42c8f4f1dfb8a64f4c7b9624cdc4b3eb Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:43:38 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-kservice.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/kf5-kservice.spec b/kf5-kservice.spec index 99c25f5..1be90c6 100644 --- a/kf5-kservice.spec +++ b/kf5-kservice.spec @@ -5,7 +5,7 @@ Name: kf5-%{framework} Summary: KDE Frameworks 5 Tier 3 solution for advanced plugin and service introspection Version: 5.113.0 -Release: 1 +Release: 2 # mixture of LGPLv2 and LGPLv2+ (mostly the latter) License: LGPLv2 @@ -62,16 +62,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-man @@ -104,6 +100,9 @@ mkdir -p %{buildroot}%{_kf5_datadir}/kservicetypes5 %changelog +* Fri Nov 15 2024 ChenYanpan - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Tue Jan 02 2024 wangqia - 5.113.0-1 - Update to upstream version 5.113.0 @@ -133,4 +132,3 @@ mkdir -p %{buildroot}%{_kf5_datadir}/kservicetypes5 * Mon Aug 17 2020 yeqinglong - 5.55.0-1 - Initial release for OpenEuler -