!5 fixed kdegraphics-mobipocket 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-18 07:59:27 +00:00 committed by Gitee
commit 35f001f47a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,9 +1,9 @@
%undefine __cmake_in_source_build %undefine __cmake_in_source_build
Name: kdegraphics-mobipocket Name: kdegraphics-mobipocket
Summary: A collection of plugins to handle mobipocket files Summary: A collection of plugins to handle mobipocket files
Version: 23.08.4 Version: 23.08.4
Release: 1 Release: 2
License: GPLv2+ License: GPLv2+
URL: https://www.kde.org/applications/graphics/ URL: https://www.kde.org/applications/graphics/
@ -41,15 +41,12 @@ Provides: qmobipocket-devel = %{version}-%{release}
%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}
%ldconfig_scriptlets %ldconfig_scriptlets
@ -66,6 +63,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog %changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 23.08.4-2
- adapt to the new CMake macros to fix build failure
* Mon Jan 08 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.4-1 * Mon Jan 08 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.4-1
- update verison to 23.08.4 - update verison to 23.08.4