From d46e51902c194a20d6870f11c2db09d3bdd861f5 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 14:03:17 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- ark.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ark.spec b/ark.spec index b222d43..7b1443d 100644 --- a/ark.spec +++ b/ark.spec @@ -1,7 +1,7 @@ Name: ark Summary: Archive manager Version: 23.08.5 -Release: 1 +Release: 2 License: GPLv2+ URL: https://www.kde.org/applications/utilities/ark/ @@ -65,14 +65,11 @@ Provides: ark-part = %{version}-%{release} %autosetup -p1 %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd -make %{?_smp_mflags} -C %{_target_platform} +%{cmake_kf5} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang %{name} --all-name --with-html --with-man rm -fv %{buildroot}%{_kf5_libdir}/libkerfuffle.so @@ -105,6 +102,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.ark.deskt %changelog +* Thu Nov 21 2024 tangjie02 - 23.08.5-2 +- adapt to the new CMake macros to fix build failure + * Fri Mar 15 2024 douyan - 23.08.5-1 - Update package to version 23.08.5 -- Gitee