!4 fixed kuserfeedback build failure in openEuler-24.03-LTS-SP1:epol

From: @chenyanpanX 
Reviewed-by: @misaka00251 
Signed-off-by: @misaka00251
This commit is contained in:
openeuler-ci-bot 2024-11-19 08:05:55 +00:00 committed by Gitee
commit 3ae9e2dca6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: kuserfeedback
Summary: Framework for collecting user feedback for apps via telemetry and surveys
Version: 1.3.0
Release: 1
Release: 2
License: MIT
URL: https://invent.kde.org/libraries/%{name}
@ -58,16 +58,14 @@ Analytics and administration tool for UserFeedback servers.
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \
%{cmake_kf5} \
-DENABLE_DOCS:BOOL=OFF
popd
%make_build -C %{_target_platform}
%{cmake_build}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
%{find_lang} userfeedbackconsole5 --with-qt
%{find_lang} userfeedbackprovider5 --with-qt
@ -100,6 +98,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kuserfeedback
%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
- Update to version 1.3.0