adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
19709a323b
commit
b283a03c8f
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user