From 50f77f5f7e6a4317e10dc729b8b1f685738f6fec Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:30:31 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- ark.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ark.spec b/ark.spec index 7ad959b..63c83f4 100644 --- a/ark.spec +++ b/ark.spec @@ -1,7 +1,7 @@ Name: ark Summary: Archive manager Version: 23.08.4 -Release: 1 +Release: 2 License: GPLv2+ URL: https://www.kde.org/applications/utilities/ark/ @@ -65,14 +65,12 @@ 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 +103,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.ark.deskt %changelog +* Fri Nov 15 2024 ChenYanpan - 23.08.4-2 +- adapt to the new CMake macros to fix build failure + * Wed Jan 10 2024 jiangxinyu - 23.08.4-1 - Update package to version 23.08.4