adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 19:44:36 +08:00
parent 7e89e42dcd
commit 7fad1a3a09
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

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