!14 fixed plasma-workspace 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-19 05:43:00 +00:00 committed by Gitee
commit 4915f7f28c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -11,7 +11,7 @@
Name: plasma-workspace
Summary: Plasma workspace, applications and applets
Version: 5.27.10
Release: 2
Release: 3
License: GPLv2+
URL: https://invent.kde.org/plasma/%{name}
@ -277,7 +277,7 @@ developing applications that use %{name}.
%package doc
Summary: Documentation and user manuals for %{name}
License: GFDL
License: GPLv2+
Obsoletes: plasma-workspace-doc < 5.3.1-2
Requires: %{name}-common = %{version}-%{release}
BuildArch: noarch
@ -340,16 +340,15 @@ Requires: xsetroot
%patch110 -p1
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \
%{cmake_kf5} \
%{?with_wayland_default:-DPLASMA_WAYLAND_DEFAULT_SESSION:BOOL=ON}
popd
%make_build -C %{_target_platform}
%{cmake_build}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
chrpath --delete %{buildroot}%{_kf5_qtplugindir}/phonon_platform/kde.so
@ -597,6 +596,9 @@ setsebool -P selinuxuser_execmod 1
%endif
%changelog
* Mon Nov 18 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-3
- adapt to the new CMake macros to fix build failure; use License GPLv2+ in doc package
* Mon Jul 08 2024 zhangxianting <zhangxianting@uniontech.com> - 5.27.10-2
- CVE-2024-36041