adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
3c0e73b02f
commit
52e41e72b1
@ -10,7 +10,7 @@
|
||||
|
||||
Name: kf5-%{framework}
|
||||
Version: 23.08.4
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: The KIMAP Library
|
||||
|
||||
License: GPLv2+ and LGPLv2+
|
||||
@ -63,16 +63,14 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%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 --with-html
|
||||
|
||||
@ -104,6 +102,9 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
|
||||
|
||||
|
||||
%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 08 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.4-1
|
||||
- update verison to 23.08.4
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user