From 34f65768497c578cf02957215ce238666f76f094 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Mon, 18 Nov 2024 17:58:32 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-kauth.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/kf5-kauth.spec b/kf5-kauth.spec index 0949057..0b0cded 100644 --- a/kf5-kauth.spec +++ b/kf5-kauth.spec @@ -3,7 +3,7 @@ Name: kf5-%{framework} Version: 5.113.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user License: LGPLv2+ @@ -37,16 +37,14 @@ developing applications that use %{name}. %autosetup -n %{framework}-%{version} -p1 %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir} -popd -%make_build -C %{_target_platform} +%{cmake_build} + %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %find_lang_kf5 kauth5_qt @@ -74,6 +72,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Mon Nov 18 2024 ChenYanpan - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Thu Jan 04 2024 wangqia - 5.113.0-1 - Update to upstream version 5.113.0