!25 [sync] PR-24: fix build error

From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2025-02-20 07:58:54 +00:00 committed by Gitee
commit 9c4e0a636d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,10 +3,10 @@
Name: kf5-%{framework}
Version: 5.113.0
Release: 2
Release: 3
Summary: KDE Frameworks 5 Tier 2 module providing Pty abstraction
License: LGPLv2+ and GPLv2+
License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later
URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %majmin_ver_kf5
@ -41,12 +41,16 @@ developing applications that use %{name}.
%build
%{cmake_kf5}
%{cmake_build}
# find_program for utempter is failing for some reason, so
# set path explicitly to known-good value
%cmake_kf5 \
-DUTEMPTER_EXECUTABLE:PATH=/usr/libexec/utempter/utempter
%cmake_build
%install
%{cmake_install}
%cmake_install
%find_lang %{name} --all-name --with-man
@ -67,6 +71,9 @@ developing applications that use %{name}.
%changelog
* Thu Feb 20 2025 peijiankang <peijiankang@kylinos.cn> - 5.113.0-3
- fi kwrited build error
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
- adapt to the new CMake macros to fix build failure