From be822c8538de2ffa431ae105c2bb4d11bc543200 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 15:42:25 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- kf5-kconfigwidgets.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-kconfigwidgets.spec b/kf5-kconfigwidgets.spec index 4d86e16..72de3bd 100644 --- a/kf5-kconfigwidgets.spec +++ b/kf5-kconfigwidgets.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.115.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 3 addon for creating configuration dialogs License: GPLv2+ and LGPLv2+ and MIT @@ -51,15 +51,12 @@ developing applications that use %{name}. %autosetup -n %{framework}-%{version} %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd +%{cmake_kf5} -%make_build -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang %{name} --with-man --all-name @@ -84,6 +81,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Thu Nov 21 2024 tangjie02 - 5.115.0-2 +- adapt to the new CMake macros to fix build failure + * Mon Mar 04 2024 huayadong - 5.115.0-1 - Update package to version 5.115.0 -- Gitee