From 1156dc122c080de0979bb89b9cdca76e06865b6b Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:44:08 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- khotkeys.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/khotkeys.spec b/khotkeys.spec index d613823..6bdf2e7 100644 --- a/khotkeys.spec +++ b/khotkeys.spec @@ -1,6 +1,6 @@ Name: khotkeys Version: 5.27.10 -Release: 1 +Release: 2 Summary: Application to configure hotkeys in KDE License: GPLv2+ URL: https://invent.kde.org/plasma/%{name} @@ -55,15 +55,12 @@ developing applications that use %{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 khotkeys --with-html @@ -84,6 +81,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Fri Nov 15 2024 ChenYanpan - 5.27.10-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 zhangxianting - 5.27.10-1 - Upgrade to 5.27.10