!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
Version: 1.12.0
Release: 1
Release: 2
Summary: Plasma Specific Protocols for Wayland
License: LGPLv2+ and MIT and BSD
URL: https://invent.kde.org/libraries/%{name}
@ -31,16 +31,12 @@ developing applications that use %{name}.
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%{cmake_kf5}
%{cmake_build}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
%files
%license COPYING.LIB
@ -50,6 +46,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_libdir}/cmake/PlasmaWaylandProtocols/
%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
- Update package to version 1.12.0
@ -66,4 +65,4 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
- update to upstream version 1.6.0
* Thu Jan 20 2022 pei-jiankang <peijiankang@kylinos.cn> - 1.5-1
- Init upstream version 1.5
- Init upstream version 1.5