!10 fixed libksysguard build failure in openEuler-24.03-LTS-SP1:epol

From: @chenyanpanX 
Reviewed-by: @misaka00251 
Signed-off-by: @misaka00251
This commit is contained in:
openeuler-ci-bot 2024-11-19 05:37:47 +00:00 committed by Gitee
commit 6c02d07ad4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <chenyanpan@xfusion.com> - 5.27.10-2
- adapt to the new CMake macros to fix build failure
* Mon Jan 08 2024 peijiankang <peijiankang@kylinos.cn> - 5.27.10-1
- update verison to 5.27.10