adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 19:38:45 +08:00
parent a614fcd2b7
commit 5d3a5eaead
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -3,7 +3,7 @@
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