diff --git a/kwayland-server.spec b/kwayland-server.spec index d43290a..4b0c021 100644 --- a/kwayland-server.spec +++ b/kwayland-server.spec @@ -2,7 +2,7 @@ Name: kwayland-server Version: 5.24.7 -Release: 1 +Release: 2 Summary: Wayland server components built on KDE Frameworks License: LGPLv2+ and MIT and BSD @@ -43,14 +43,12 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd -make %{?_smp_mflags} -C %{_target_platform} +%{cmake_kf5} +%{cmake_build} + %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %ldconfig_scriptlets @@ -67,6 +65,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{_libdir}/cmake/KWaylandServer/ %changelog +* Fri Nov 15 2024 ChenYanpan - 5.24.7-2 +- adapt to the new CMake macros to fix build failure + * Mon Dec 12 2022 lijian - 5.24.7-1 - update to upstream version 5.24.7 @@ -78,4 +79,3 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} * Sat Feb 12 2022 pei-jiankang - 5.24.0-1 - update to upstream version 5.24.0 -