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
Version: 1.12.0
Release: 1
Release: 2
Summary: Plasma Specific Protocols for Wayland
License: LGPLv2+ and MIT and BSD
URL: https://invent.kde.org/libraries/%{name}
@ -31,16 +31,12 @@ developing applications that use %{name}.
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%{cmake_kf5}
%{cmake_build}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
%files
%license COPYING.LIB
@ -50,6 +46,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_libdir}/cmake/PlasmaWaylandProtocols/
%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
- Update package to version 1.12.0
@ -66,4 +65,4 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
- update to upstream version 1.6.0
* Thu Jan 20 2022 pei-jiankang <peijiankang@kylinos.cn> - 1.5-1
- Init upstream version 1.5
- Init upstream version 1.5