diff --git a/kf5-baloo.spec b/kf5-baloo.spec index 8caa8cd..9a3d6fa 100644 --- a/kf5-baloo.spec +++ b/kf5-baloo.spec @@ -10,7 +10,7 @@ Name: kf5-%{framework} Summary: A Tier 3 KDE Frameworks 5 module that provides indexing and search functionality Version: 5.113.0 -Release: 1 +Release: 2 License: (LGPLv2 or LGPLv3) and (GPLv2 or GPLv3) URL: https://community.kde.org/Baloo @@ -88,16 +88,12 @@ License: LGPLv2 or LGPLv3 %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ - -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -popd -%make_build -C %{_target_platform} +%{cmake_kf5} +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %if 0%{?flatpak:1} rm -fv %{buildroot}%{_userunitdir}/kde-baloo.service @@ -129,13 +125,7 @@ cat baloo_file5.lang baloo_file_extractor5.lang \ %check -%if 0%{?tests} -export CTEST_OUTPUT_ON_FAILURE=1 -xvfb-run -a \ -dbus-launch --exit-with-session \ -time \ -make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: -%endif +%{ctest} %files -f %{name}.lang @@ -181,6 +171,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %changelog +* Fri Nov 15 2024 ChenYanpan - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Wed Jan 03 2024 jiangxinyu - 5.113.0-1 - Update package to version 5.113.0