diff --git a/layer-shell-qt.spec b/layer-shell-qt.spec index 6f73210..3a3d618 100644 --- a/layer-shell-qt.spec +++ b/layer-shell-qt.spec @@ -1,6 +1,6 @@ Name: layer-shell-qt Version: 5.27.10 -Release: 1 +Release: 2 Summary: Library to easily use clients based on wlr-layer-shell License: LGPLv3+ @@ -40,14 +40,12 @@ Requires: qt5-qtbase-devel >= 5.15.0 %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} %files @@ -61,6 +59,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{_libdir}/cmake/LayerShellQt/ %changelog +* Fri Nov 15 2024 ChenYanpan - 5.27.10-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 houhongxun - 5.27.10-1 - update to version 5.27.10