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