From 9794b3aacedafab4853964aeb81cd75d8c36402e Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:43:40 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-ktexteditor.spec | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/kf5-ktexteditor.spec b/kf5-ktexteditor.spec index 61ca841..6c109ce 100644 --- a/kf5-ktexteditor.spec +++ b/kf5-ktexteditor.spec @@ -9,7 +9,7 @@ Name: kf5-%{framework} Version: 5.113.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 3 with advanced embeddable text editor License: LGPLv2+ @@ -79,17 +79,12 @@ developing applications that use %{name}. %build -mkdir build -pushd build - %cmake_kf5 .. \ - -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} - %make_build -popd +%{cmake_kf5} +%{cmake_build} + %install -pushd build - %make_install -popd +%{cmake_install} %find_lang %{name} --all-name @@ -134,6 +129,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %{_datadir}/kdevappwizard/templates/ktexteditor-plugin.tar.bz2 %changelog +* Fri Nov 15 2024 ChenYanpan - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 houhongxun - 5.113.0-1 - Upgrade to version 5.113.0