From 2289e71b1153b6e6e253039a10b4d347f249d8ef Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:40:11 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-kitemmodels.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-kitemmodels.spec b/kf5-kitemmodels.spec index 7c2059b..13f3b78 100644 --- a/kf5-kitemmodels.spec +++ b/kf5-kitemmodels.spec @@ -3,7 +3,7 @@ Name: kf5-%{framework} Version: 5.113.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} +%{cmake_build} -%make_build -C %{_target_platform} %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 +* Fri Nov 15 2024 ChenYanpan - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Wed Jan 03 2024 jiangxinyu - 5.113.0-1 - Update package to version 5.113.0 -- Gitee