adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-19 10:53:59 +08:00
parent eee7b686d4
commit 92e5d23f84
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

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