diff --git a/krecorder.spec b/krecorder.spec index 1cd002ce3cb3d8c3635fdb90a2146a9fafb9e5a7..63c73e7518621a61ccab139123fee4ceefbc2198 100644 --- a/krecorder.spec +++ b/krecorder.spec @@ -1,6 +1,6 @@ Name: krecorder Version: 23.08.5 -Release: 1 +Release: 2 License: GPLv3+ Summary: Convergent KDE audio recording application Url: https://invent.kde.org/plasma-mobile/krecorder @@ -40,14 +40,11 @@ Audio recorder for Plasma Mobile and other platforms %autosetup -n %{name}-%{version} %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd -%make_build -C %{_target_platform} +%{cmake_kf5} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install chmod -x %{buildroot}%{_datadir}/applications/org.kde.%{name}.desktop sed -i 's/GPL-3+/GPL-3.0-or-later/g' %{buildroot}%{_datadir}/metainfo/org.kde.%{name}.appdata.xml @@ -68,6 +65,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.%{name}.deskt %{_kf5_datadir}/icons/hicolor/scalable/apps/org.kde.%{name}.svg %changelog +* Thu Nov 21 2024 tangjie02 - 23.08.5-2 +- adapt to the new CMake macros to fix build failure + * Thu Mar 21 2024 peijiankang - 23.08.5-1 - update verison to 23.08.5