adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 19:35:34 +08:00
parent 9e907fb9c6
commit c173aef874
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -1,6 +1,6 @@
Name: kaccounts-integration
Version: 23.08.4
Release: 1
Release: 2
Summary: Small system to administer web accounts across the KDE desktop
License: GPLv2+
URL: https://invent.kde.org/network/%{name}
@ -67,16 +67,12 @@ Headers, development libraries and documentation for %{name}.
%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
@ -101,6 +97,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%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