From 439ce6cd874bd05ed18c951f65ca7f63c9dbd0c4 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 15:48:06 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- kf5-kquickcharts.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-kquickcharts.spec b/kf5-kquickcharts.spec index 1101620..d1c2464 100644 --- a/kf5-kquickcharts.spec +++ b/kf5-kquickcharts.spec @@ -11,7 +11,7 @@ Name: kf5-%{framework} Summary: A QtQuick module providing high-performance charts Version: 5.115.0 -Release: 1 +Release: 2 License: BSD-2-Clause AND CC0-1.0 AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL AND MIT URL: https://invent.kde.org/frameworks/%{framework} @@ -49,16 +49,13 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -popd -%make_build -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %check %if 0%{?tests} @@ -81,6 +78,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %{_kf5_libdir}/cmake/KF5QuickCharts/ %changelog +* Thu Nov 21 2024 tangjie02 - 5.115.0-2 +- adapt to the new CMake macros to fix build failure + * Mon Mar 04 2024 peijiankang - 5.115.0-1 - update verison to 5.115.0 -- Gitee