diff --git a/kf5-kpimtextedit.spec b/kf5-kpimtextedit.spec index c4206ee..8144635 100644 --- a/kf5-kpimtextedit.spec +++ b/kf5-kpimtextedit.spec @@ -9,7 +9,7 @@ Name: kf5-%{framework} Version: 23.08.4 -Release: 1 +Release: 2 Summary: The KPimTextEdit Library License: LGPLv2+ @@ -91,26 +91,18 @@ developing applications that use %{name}. %build -%cmake_kf5 \ - -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} - -%make_build +%{cmake_kf5} +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} +%{cmake_install} %find_lang %{name} --all-name --with-html %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 30" -C %{_target_platform} ||: -%endif +%{ctest} %ldconfig_scriptlets @@ -130,6 +122,9 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||: %changelog +* Fri Nov 15 2024 ChenYanpan - 23.08.4-2 +- adapt to the new CMake macros to fix build failure + * Thu Jan 11 2024 jiangxinyu - 23.08.4-1 - Update package to version 23.08.4 @@ -138,4 +133,3 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||: * Tue Apr 25 2023 peijiankang - 22.12.0-1 - Init Package for openEuler -