use %cmake_build and %cmake_install to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 12:05:01 +08:00
parent ceca6b4648
commit b0446ded2b
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -6,7 +6,7 @@
Name: kf5-%{framework}
Version: 5.113.0
Release: 1
Release: 2
Summary: KDE Frameworks 5 Syntax highlighting engine for Kate syntax definitions
License: MIT
@ -47,10 +47,10 @@ developing applications that use %{name}.
%build
%cmake_kf5
%make_build
%cmake_build
%install
%make_install
%cmake_install
%find_lang_kf5 syntaxhighlighting5_qt
@ -80,6 +80,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
- use %cmake_build and %cmake_install to fix build failure
* Wed Jan 03 2024 peijiankang <peijiankang@kylinos.cn> - 5.113.0-1
- Update version to 5.113.0