From ea4cd1ddc00cc220acbcd104718379b2a850423f Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Tue, 19 Nov 2024 11:55:05 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kde-connect.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/kde-connect.spec b/kde-connect.spec index 9d5577a..710f522 100644 --- a/kde-connect.spec +++ b/kde-connect.spec @@ -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 - 23.08.5-2 +- adapt to the new CMake macros to fix build failure + * Mon Mar 18 2024 peijiankang - 23.08.5-1 - update verison to 23.08.5