From 9c3da9fd131607b83783b6c55ddebd37440b8631 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:39:54 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-ki18n.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/kf5-ki18n.spec b/kf5-ki18n.spec index d58d0b4..e48d914 100644 --- a/kf5-ki18n.spec +++ b/kf5-ki18n.spec @@ -2,10 +2,10 @@ Name: kf5-%{framework} Version: 5.113.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 1 addon for localization -License: LGPLv2+ and BSD-3-Clause +License: LGPLv2+ and BSD-3-Clause URL: https://invent.kde.org/frameworks/%{framework} %global majmin %majmin_ver_kf5 @@ -45,16 +45,12 @@ developing applications that use %{name}. %autosetup -n %{framework}-%{version} -p1 %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ - -DPYTHON_EXECUTABLE:PATH=%__python3 -popd +%{cmake_kf5} +%{cmake_build} -%make_build -C %{_target_platform} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %find_lang %{name} --all-name @@ -93,6 +89,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 + * Tue Jan 02 2024 wangqia - 5.113.0-1 - Update to upstream version 5.113.0