adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-18 17:58:45 +08:00
parent 19709a323b
commit b283a03c8f
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

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