adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 19:38:47 +08:00
parent 1a6e8dd488
commit 40de97f13e
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -1,7 +1,7 @@
Name: keditbookmarks
Summary: Bookmark organizer and editor
Version: 23.08.4
Release: 1
Release: 2
License: GPLv2 and GPLv3 and GFDL-1.2-only
URL: https://www.kde.org/
@ -48,15 +48,12 @@ Requires: %{name} = %{version}-%{release}
%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}
%find_lang %{name} --all-name --with-html --with-man
# unpackaged
@ -83,6 +80,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.d
%changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 23.08.4-2
- adapt to the new CMake macros to fix build failure
* Tue Jan 09 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 23.08.4-1
- Update package to version 23.08.4