!24 fixed kwin build failure in openEuler-24.03-LTS-SP1:epol
From: @chenyanpanX Reviewed-by: @misaka00251 Signed-off-by: @misaka00251
This commit is contained in:
commit
5bb2fdf45b
15
kwin.spec
15
kwin.spec
@ -8,7 +8,7 @@
|
||||
|
||||
Name: kwin
|
||||
Version: 5.27.10
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: KDE Window manager
|
||||
|
||||
# all sources are effectively GPLv2+, except for:
|
||||
@ -229,17 +229,14 @@ sed -i \
|
||||
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} .. \
|
||||
%{cmake_kf5} \
|
||||
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
|
||||
popd
|
||||
|
||||
%make_build -C %{_target_platform}
|
||||
%{cmake_build}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
%{cmake_install}
|
||||
|
||||
%find_lang %{name} --with-html --all-name
|
||||
grep "%{_kf5_docdir}" %{name}.lang > %{name}-doc.lang
|
||||
@ -333,6 +330,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Nov 19 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-2
|
||||
- adapt to the new CMake macros to fix build failure
|
||||
|
||||
* Mon Jan 08 2024 zhangxianting <zhangxianting@unintech.com> - 5.27.10-1
|
||||
- update to upstream version 5.27.10
|
||||
|
||||
@ -356,4 +356,3 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
|
||||
|
||||
* Fri Aug 07 2020 weidong <weidong@uniontech.com> - 5.15.4-1
|
||||
- Initial release for OpenEuler
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user