diff --git a/kf5-kquickcharts.spec b/kf5-kquickcharts.spec index 1101620d5dd03cf967bc18ca5940ea58225f6953..d1c2464a790a50abc5ee822bb173e878502111a4 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