From 92e5d23f84a27e3622175744ad801997563455ae Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Tue, 19 Nov 2024 10:53:59 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- libksysguard.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/libksysguard.spec b/libksysguard.spec index 5c6c05f..70dabc8 100644 --- a/libksysguard.spec +++ b/libksysguard.spec @@ -2,7 +2,7 @@ Name: libksysguard Summary: Library for managing processes running on the system Version: 5.27.10 -Release: 1 +Release: 2 License: GPLv2+ URL: https://invent.kde.org/plasma/%{name} @@ -88,16 +88,15 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DKDE_INSTALL_INCLUDEDIR:PATH=%{_kf5_includedir} -popd -%make_build -C %{_target_platform} + +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} + %find_lang ksysguard_qt5 --with-qt --with-kde --all-name @@ -146,6 +145,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Tue Nov 19 2024 ChenYanpan - 5.27.10-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 peijiankang - 5.27.10-1 - update verison to 5.27.10