From c201999f9f4f914d194a8a360517240be1fc5fd5 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:39:09 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-karchive.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/kf5-karchive.spec b/kf5-karchive.spec index 1c992bc..91c8f4e 100644 --- a/kf5-karchive.spec +++ b/kf5-karchive.spec @@ -3,7 +3,7 @@ Name: kf5-%{framework} Version: 5.113.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 1 addon with archive functions License: LGPLv2+ and BSD @@ -38,18 +38,13 @@ developing applications that use %{name}. %prep %autosetup -n %{framework}-%{version} - %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd - -%make_build -C %{_target_platform} +%{cmake_kf5} +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %ldconfig_scriptlets @@ -69,6 +64,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Fri Nov 15 2024 ChenYanpan - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Wed Jan 03 2024 jiangxinyu - 5.113.0-1 - Update package to version 5.113.0