adapt to the new CMake macros to fix build failure

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

View File

@ -2,7 +2,7 @@
Name: kwayland-server Name: kwayland-server
Version: 5.24.7 Version: 5.24.7
Release: 1 Release: 2
Summary: Wayland server components built on KDE Frameworks Summary: Wayland server components built on KDE Frameworks
License: LGPLv2+ and MIT and BSD License: LGPLv2+ and MIT and BSD
@ -43,14 +43,12 @@ developing applications that use %{name}.
%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
@ -67,6 +65,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_libdir}/cmake/KWaylandServer/ %{_libdir}/cmake/KWaylandServer/
%changelog %changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.24.7-2
- adapt to the new CMake macros to fix build failure
* Mon Dec 12 2022 lijian <lijian2@kylinos.cn> - 5.24.7-1 * Mon Dec 12 2022 lijian <lijian2@kylinos.cn> - 5.24.7-1
- update to upstream version 5.24.7 - update to upstream version 5.24.7
@ -78,4 +79,3 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
* Sat Feb 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.24.0-1 * Sat Feb 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.24.0-1
- update to upstream version 5.24.0 - update to upstream version 5.24.0