adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
b86c833e76
commit
dbc3dfe5c6
@ -9,7 +9,7 @@
|
||||
|
||||
Name: kf5-%{framework}
|
||||
Version: 23.08.4
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: The Akonadi Mime Library
|
||||
License: LGPLv2+
|
||||
URL: https://invent.kde.org/frameworks/%{framework}
|
||||
@ -68,15 +68,14 @@ developing applications that use %{name}.
|
||||
%autosetup -n %{framework}-%{version} -p1
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} .. \
|
||||
%{cmake_kf5} \
|
||||
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
|
||||
popd
|
||||
%make_build -C %{_target_platform}
|
||||
|
||||
%{cmake_build}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
%{cmake_install}
|
||||
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
@ -99,7 +98,7 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
|
||||
%{_kf5_libdir}/libKPim5AkonadiMime.so.*
|
||||
%{_kf5_qtplugindir}/akonadi_serializer_mail.so
|
||||
|
||||
%files devel
|
||||
%files devel
|
||||
%if 0%{?tests}
|
||||
%{_kf5_bindir}/akonadi_benchmarker
|
||||
%endif
|
||||
@ -110,6 +109,9 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
|
||||
%{_kf5_libdir}/libKPim5AkonadiMime.so
|
||||
|
||||
%changelog
|
||||
* Mon Nov 18 2024 ChenYanpan <chenyanpan@xfusion.com> - 23.08.4-2
|
||||
- adapt to the new CMake macros to fix build failure
|
||||
|
||||
* Mon Jan 15 2024 Tianze Li <litianze@uniontech.com> - 23.08.4-1
|
||||
- Update package to version 23.08.4
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user