From 0b1a28f69cc94410c9a01c0057a732f2c5c9a5fd Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Thu, 21 Nov 2024 15:47:06 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- kf5-knotifications.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kf5-knotifications.spec b/kf5-knotifications.spec index 6a7f747..1609a23 100644 --- a/kf5-knotifications.spec +++ b/kf5-knotifications.spec @@ -9,7 +9,7 @@ Name: kf5-%{framework} Version: 5.115.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 2 solution with abstraction for system notifications License: LGPLv2+ URL: https://invent.kde.org/frameworks/%{framework} @@ -66,16 +66,13 @@ developing applications that use %{name}. %autosetup -n %{framework}-%{version} -p1 %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ %{?tests:-DBUILD_TESTING:BOOL=ON} -popd -%make_build -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang_kf5 knotifications5_qt @@ -108,6 +105,9 @@ time 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 peijiankang - 5.115.0-1 - update verison to 5.115.0 -- Gitee