!12 fixed kwayland-server 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:44:07 +00:00 committed by Gitee
commit b6f4cc7dee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <chenyanpan@xfusion.com> - 5.24.7-2
- adapt to the new CMake macros to fix build failure
* Mon Dec 12 2022 lijian <lijian2@kylinos.cn> - 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<peijiankang@kylinos.cn> - 5.24.0-1
- update to upstream version 5.24.0