adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 19:44:17 +08:00
parent f468fce75f
commit 0d02b5bcf9
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -3,7 +3,7 @@
Name: kwayland-integration
Version: 5.27.10
Release: 1
Release: 2
Summary: Provides integration plugins for various KDE Frameworks for Wayland
License: LGPLv2+
@ -38,15 +38,12 @@ Requires: kf5-filesystem
%autosetup -p1
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%{cmake_kf5}
%{cmake_build}
make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
%ldconfig_scriptlets
@ -56,6 +53,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_plugindir}/kwindowsystem/KF5WindowSystemKWaylandPlugin.so
%changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-2
- adapt to the new CMake macros to fix build failure
* Mon Jan 08 2024 peijiankang <peijiankang@kylinos.cn> - 5.27.10-1
- update verison to 5.27.10