adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-19 10:47:51 +08:00
parent edcf9a157c
commit 3ed0abe2c6
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -3,7 +3,7 @@
Name: kuserfeedback Name: kuserfeedback
Summary: Framework for collecting user feedback for apps via telemetry and surveys Summary: Framework for collecting user feedback for apps via telemetry and surveys
Version: 1.3.0 Version: 1.3.0
Release: 1 Release: 2
License: MIT License: MIT
URL: https://invent.kde.org/libraries/%{name} URL: https://invent.kde.org/libraries/%{name}
@ -58,16 +58,14 @@ Analytics and administration tool for UserFeedback servers.
%build %build
mkdir %{_target_platform} %{cmake_kf5} \
pushd %{_target_platform}
%{cmake_kf5} .. \
-DENABLE_DOCS:BOOL=OFF -DENABLE_DOCS:BOOL=OFF
popd
%make_build -C %{_target_platform} %{cmake_build}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{cmake_install}
%{find_lang} userfeedbackconsole5 --with-qt %{find_lang} userfeedbackconsole5 --with-qt
%{find_lang} userfeedbackprovider5 --with-qt %{find_lang} userfeedbackprovider5 --with-qt
@ -100,6 +98,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kuserfeedback
%changelog %changelog
* Tue Nov 19 2024 ChenYanpan <chenyanpan@xfusion.com> - 1.3.0-2
- adapt to the new CMake macros to fix build failure
* Wed Dec 13 2023 Vicoloa <lvkun@uniontech.com> - 1.3.0-1 * Wed Dec 13 2023 Vicoloa <lvkun@uniontech.com> - 1.3.0-1
- Update to version 1.3.0 - Update to version 1.3.0