adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 19:44:22 +08:00
parent 0b36f49830
commit 03a712a664
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -4,7 +4,7 @@
Name: libkgapi Name: libkgapi
Version: 23.08.4 Version: 23.08.4
Release: 1 Release: 2
Summary: Library to access to Google services Summary: Library to access to Google services
License: GPLv2+ License: GPLv2+
@ -56,15 +56,12 @@ resources.
%build %build
mkdir %{_target_platform} %{cmake_kf5}
pushd %{_target_platform} %{cmake_build}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{cmake_install}
%find_lang_kf5 libkgapi_qt %find_lang_kf5 libkgapi_qt
@ -109,6 +106,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_includedir}/KPim5/KGAPI/kgapi_version.h %{_includedir}/KPim5/KGAPI/kgapi_version.h
%changelog %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 16 2024 misaka00251 <liuxin@iscas.ac.cn> - 23.08.4-1 * Tue Jan 16 2024 misaka00251 <liuxin@iscas.ac.cn> - 23.08.4-1
- Upgrade to 23.08.4 - Upgrade to 23.08.4