diff --git a/konsole5.spec b/konsole5.spec index 89883bd..81c86d9 100644 --- a/konsole5.spec +++ b/konsole5.spec @@ -10,7 +10,7 @@ Name: konsole5 Summary: KDE Terminal emulator Version: 23.08.4 -Release: 1 +Release: 2 License: GPLv2 and GFDL-1.2-or-later URL: http://www.kde.org/applications/system/konsole/ @@ -89,16 +89,12 @@ Summary: Konsole5 kpart plugin %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ - %{?tests:-DBUILD_TESTING:BOOL=ON} -popd -%make_build -C %{_target_platform} +%{cmake_kf5} +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} install -m644 -p -b -D %{SOURCE10} %{buildroot}%{_kf5_sysconfdir}/xdg/konsolerc @@ -109,15 +105,7 @@ desktop-file-edit --set-key=StartupWMClass --set-value=konsole %{buildroot}%{_kf %check -appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.konsole.appdata.xml ||: -desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.konsole.desktop -%if 0%{?tests} -test "$(xvfb-run -a %{_target_platform}/src/konsole --version)" = "konsole %{version}" ||: -export CTEST_OUTPUT_ON_FAILURE=1 -DBUS_SESSION_BUS_ADDRESS= -xvfb-run -a \ -make test -C %{_target_platform} ARGS="--output-on-failure --timeout 30" ||: -%endif +%{ctest} %files -f konsole.lang @@ -153,6 +141,9 @@ make test -C %{_target_platform} ARGS="--output-on-failure --timeout 30" ||: %changelog +* Fri Nov 15 2024 ChenYanpan - 23.08.4-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 zhangxianting - 23.08.4-1 - Update package to version 23.08.4