From ffc307a224016c2c3d2bd164538d711251959b74 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 15:43:42 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- kf5-kdoctools.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-kdoctools.spec b/kf5-kdoctools.spec index a646c1d..5fdca78 100644 --- a/kf5-kdoctools.spec +++ b/kf5-kdoctools.spec @@ -9,7 +9,7 @@ Name: kf5-%{framework} Version: 5.115.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 2 addon for generating documentation License: GPLv2+ and MIT @@ -56,15 +56,12 @@ developing applications that use %{name}. %autosetup -n %{framework}-%{version} -p1 %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. %{?tests:-DBUILD_TESTING:BOOL=ON} -popd +%{cmake_kf5} %{?tests:-DBUILD_TESTING:BOOL=ON} -%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 %{?_with_html} @@ -97,6 +94,9 @@ make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" ||: %changelog +* Thu Nov 21 2024 tangjie02 - 5.115.0-2 +- adapt to the new CMake macros to fix build failure + * Mon Mar 04 2024 houhongxun - 5.115.0-1 - update version to 5.115.0 -- Gitee