!15 fixed plasma-wayland-protocols 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:36:31 +00:00 committed by Gitee
commit 381dfe9448
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4,7 +4,7 @@
Name: plasma-wayland-protocols Name: plasma-wayland-protocols
Version: 1.12.0 Version: 1.12.0
Release: 1 Release: 2
Summary: Plasma Specific Protocols for Wayland Summary: Plasma Specific Protocols for Wayland
License: LGPLv2+ and MIT and BSD License: LGPLv2+ and MIT and BSD
URL: https://invent.kde.org/libraries/%{name} URL: https://invent.kde.org/libraries/%{name}
@ -31,16 +31,12 @@ developing applications that use %{name}.
%build %build
mkdir %{_target_platform} %{cmake_kf5}
pushd %{_target_platform} %{cmake_build}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{cmake_install}
%files %files
%license COPYING.LIB %license COPYING.LIB
@ -50,6 +46,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_libdir}/cmake/PlasmaWaylandProtocols/ %{_kf5_libdir}/cmake/PlasmaWaylandProtocols/
%changelog %changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 1.12.0-2
- adapt to the new CMake macros to fix build failure
* Fri Jan 05 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.12.0-1 * Fri Jan 05 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.12.0-1
- Update package to version 1.12.0 - Update package to version 1.12.0