!8 fixed qqc2-desktop-style 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 06:34:52 +00:00 committed by Gitee
commit 0d03fdf96f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,8 +2,8 @@
Name: %{framework} Name: %{framework}
Version: 5.113.0 Version: 5.113.0
Release: 1 Release: 2
Summary: QtQuickControls2 style for consistency between QWidget and QML apps Summary: QtQuickControls2 style for consistency between QWidget and QML apps
License: (LGPLv3 or GPLv3) and LGPLv2+ License: (LGPLv3 or GPLv3) and LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework} URL: https://invent.kde.org/frameworks/%{framework}
@ -42,18 +42,15 @@ between QWidget-based and QML-based apps.
%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}
%files %files
%doc README.md %doc README.md
%license LICENSES/*.txt %license LICENSES/*.txt
%dir %{_kf5_plugindir}/kirigami/ %dir %{_kf5_plugindir}/kirigami/
@ -65,6 +62,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog %changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
- adapt to the new CMake macros to fix build failure
* Thu Jan 11 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1 * Thu Jan 11 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
- Update package to version 5.113.0 - Update package to version 5.113.0