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}
Version: 5.113.0
Release: 1
Summary: QtQuickControls2 style for consistency between QWidget and QML apps
Release: 2
Summary: QtQuickControls2 style for consistency between QWidget and QML apps
License: (LGPLv3 or GPLv3) and LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework}
@ -42,18 +42,15 @@ between QWidget-based and QML-based apps.
%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}
%files
%files
%doc README.md
%license LICENSES/*.txt
%dir %{_kf5_plugindir}/kirigami/
@ -65,6 +62,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%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
- Update package to version 5.113.0