From b12d3051a10d1e5e0b075a7a60a9288d9a057c06 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Fri, 15 Nov 2024 19:40:06 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-kio.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kf5-kio.spec b/kf5-kio.spec index 64a0673..140c073 100644 --- a/kf5-kio.spec +++ b/kf5-kio.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.113.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 3 solution for filesystem abstraction License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND MIT @@ -159,15 +159,12 @@ KIONTLM provides support for NTLM authentication mechanism in KIO %autosetup -n %{framework}-%{version} -p1 %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} %find_lang %{name} --all-name --with-man %{?_with_html} @@ -266,6 +263,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 + * Mon Jan 08 2024 haomimi - 5.113.0-1 - Update to upstream version 5.113.0 @@ -289,4 +289,3 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} * Mon Aug 17 2020 yeqinglong - 5.55.0-1 - Initial release for OpenEuler -