adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 19:30:31 +08:00
parent f20c146568
commit 50f77f5f7e
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -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 <chenyanpan@xfusion.com> - 23.08.4-2
- adapt to the new CMake macros to fix build failure
* Wed Jan 10 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 23.08.4-1
- Update package to version 23.08.4