!4 fixed kf5-kirigami2-addons 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:23:56 +00:00 committed by Gitee
commit 3ce04d06f5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: kf5-kirigami2-addons
Version: 0.11.0
Release: 1
Release: 2
Epoch: 1
License: LGPLv3
Summary: Convergent visual components ("widgets") for Kirigami-based applications
@ -46,14 +46,12 @@ Tree view Kirigami addon, which is useful for listing files.
%autosetup -n %{orig_name}-v%{version}
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%{cmake_kf5}
%{cmake_build}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
%find_lang %{orig_name} --all-name
%files -f %{orig_name}.lang
@ -71,5 +69,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_qmldir}/org/kde/kirigamiaddons/treeview/
%changelog
* Sun Nov 17 2024 ChenYanpan <chenyanpan@xfusion.com> - 1:0.11.0-2
- adapt to the new CMake macros to fix build failure
* Fri Sep 22 2023 misaka00251 <liuxin@iscas.ac.cn> - 1:0.11.0-1
- Init package