diff --git a/polkit-kde.spec b/polkit-kde.spec index 7652287..0b579ce 100644 --- a/polkit-kde.spec +++ b/polkit-kde.spec @@ -3,7 +3,7 @@ Name: polkit-kde Summary: PolicyKit integration for KDE Desktop Version: 5.27.10 -Release: 1 +Release: 2 License: GPLv2+ URL: https://invent.kde.org/plasma/%{base_name} @@ -44,16 +44,15 @@ Provides Policy Kit Authentication Agent that nicely fits to KDE. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DKDE_INSTALL_LIBEXECDIR:PATH=%{_kf5_libexecdir} -popd -%make_build -C %{_target_platform} + +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} + %find_lang polkit-kde-authentication-agent-1 @@ -68,6 +67,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 + * Thu Jan 11 2024 jiangxinyu - 5.27.10-1 - Update package to version 5.27.10