!16 fixed layer-shell-qt build failure in openEuler-24.03-LTS-SP1:epol

From: @chenyanpanX 
Reviewed-by: @misaka00251 
Signed-off-by: @misaka00251
This commit is contained in:
openeuler-ci-bot 2024-11-18 06:43:50 +00:00 committed by Gitee
commit e763151e85
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: layer-shell-qt Name: layer-shell-qt
Version: 5.27.10 Version: 5.27.10
Release: 1 Release: 2
Summary: Library to easily use clients based on wlr-layer-shell Summary: Library to easily use clients based on wlr-layer-shell
License: LGPLv3+ License: LGPLv3+
@ -40,14 +40,12 @@ Requires: qt5-qtbase-devel >= 5.15.0
%build %build
mkdir %{_target_platform} %{cmake_kf5}
pushd %{_target_platform} %{cmake_build}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{cmake_install}
%files %files
@ -61,6 +59,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_libdir}/cmake/LayerShellQt/ %{_libdir}/cmake/LayerShellQt/
%changelog %changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-2
- adapt to the new CMake macros to fix build failure
* Mon Jan 08 2024 houhongxun <houhongxun@kylinos.cn> - 5.27.10-1 * Mon Jan 08 2024 houhongxun <houhongxun@kylinos.cn> - 5.27.10-1
- update to version 5.27.10 - update to version 5.27.10