!10 fixed kde-connect build failure in openEuler-24.03-LTS-SP1:epol

From: @chenyanpanX 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2024-11-21 08:52:54 +00:00 committed by Gitee
commit 855d059ed5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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