adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-19 11:16:31 +08:00
parent 930f3ddd81
commit 6ba34e54e5
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -3,7 +3,7 @@
Name: polkit-kde Name: polkit-kde
Summary: PolicyKit integration for KDE Desktop Summary: PolicyKit integration for KDE Desktop
Version: 5.27.10 Version: 5.27.10
Release: 1 Release: 2
License: GPLv2+ License: GPLv2+
URL: https://invent.kde.org/plasma/%{base_name} URL: https://invent.kde.org/plasma/%{base_name}
@ -44,16 +44,15 @@ Provides Policy Kit Authentication Agent that nicely fits to KDE.
%build %build
mkdir %{_target_platform} %{cmake_kf5} \
pushd %{_target_platform}
%{cmake_kf5} .. \
-DKDE_INSTALL_LIBEXECDIR:PATH=%{_kf5_libexecdir} -DKDE_INSTALL_LIBEXECDIR:PATH=%{_kf5_libexecdir}
popd
%make_build -C %{_target_platform} %{cmake_build}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{cmake_install}
%find_lang polkit-kde-authentication-agent-1 %find_lang polkit-kde-authentication-agent-1
@ -68,6 +67,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog %changelog
* Tue Nov 19 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-2
- adapt to the new CMake macros to fix build failure
* Thu Jan 11 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.27.10-1 * Thu Jan 11 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.27.10-1
- Update package to version 5.27.10 - Update package to version 5.27.10