adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-19 11:55:05 +08:00
parent 2aeb78e24d
commit ea4cd1ddc0
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -7,7 +7,7 @@
Name: kde-connect
Version: 23.08.5
Release: 1
Release: 2
License: GPLv2+
Summary: KDE Connect client for communication with smartphones
@ -128,16 +128,14 @@ Supplements: (kdeconnectd and nautilus)
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \
%{cmake_kf5} \
%{?bluetooth:-DBLUETOOTH_ENABLED:BOOL=ON}
popd
%make_build -C %{_target_platform}
%{cmake_build}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
%find_lang %{name} --all-name --with-html
desktop-file-edit --remove-key=OnlyShowIn %{buildroot}%{_sysconfdir}/xdg/autostart/org.kde.kdeconnect.daemon.desktop
@ -196,6 +194,9 @@ done
%endif
%changelog
* Tue Nov 19 2024 ChenYanpan <chenyanpan@xfusion.com> - 23.08.5-2
- adapt to the new CMake macros to fix build failure
* Mon Mar 18 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.5-1
- update verison to 23.08.5