From 0fd8530c7d1236216da249e279cfbc9d37495f91 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 15:48:00 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- kf5-kpty.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-kpty.spec b/kf5-kpty.spec index cb97dc8..96cc083 100644 --- a/kf5-kpty.spec +++ b/kf5-kpty.spec @@ -3,7 +3,7 @@ Name: kf5-%{framework} Version: 5.115.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 2 module providing Pty abstraction License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later @@ -41,19 +41,16 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} # find_program for utempter is failing for some reason, so # set path explicitly to known-good value -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DUTEMPTER_EXECUTABLE:PATH=/usr/libexec/utempter/utempter -popd -%make_build -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang %{name} --all-name --with-man @@ -74,6 +71,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 peijiankang - 5.115.0-1 - update verison to 5.115.0 -- Gitee