From c2d0c7d05f08d65ae76eba21198621a2cbfeddc4 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 15:45:45 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- kf5-kitemmodels.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-kitemmodels.spec b/kf5-kitemmodels.spec index 8a5082d..9af87f0 100644 --- a/kf5-kitemmodels.spec +++ b/kf5-kitemmodels.spec @@ -3,7 +3,7 @@ Name: kf5-%{framework} Version: 5.115.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 1 addon with item models License: LGPLv2+ URL: https://invent.kde.org/frameworks/%{framework} @@ -37,15 +37,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 %ldconfig_scriptlets @@ -64,6 +61,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 houhongxun - 5.115.0-1 - update version to 5.115.0 -- Gitee