adapt to the new CMake macros to fix build failure

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

View File

@ -4,7 +4,7 @@
Name: plasma-wayland-protocols Name: plasma-wayland-protocols
Version: 1.12.0 Version: 1.12.0
Release: 1 Release: 2
Summary: Plasma Specific Protocols for Wayland Summary: Plasma Specific Protocols for Wayland
License: LGPLv2+ and MIT and BSD License: LGPLv2+ and MIT and BSD
URL: https://invent.kde.org/libraries/%{name} URL: https://invent.kde.org/libraries/%{name}
@ -31,16 +31,12 @@ developing applications that use %{name}.
%build %build
mkdir %{_target_platform} %{cmake_kf5}
pushd %{_target_platform} %{cmake_build}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{cmake_install}
%files %files
%license COPYING.LIB %license COPYING.LIB
@ -50,6 +46,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_libdir}/cmake/PlasmaWaylandProtocols/ %{_kf5_libdir}/cmake/PlasmaWaylandProtocols/
%changelog %changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 1.12.0-2
- adapt to the new CMake macros to fix build failure
* Fri Jan 05 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.12.0-1 * Fri Jan 05 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.12.0-1
- Update package to version 1.12.0 - Update package to version 1.12.0