diff --git a/kf5-syntax-highlighting.spec b/kf5-syntax-highlighting.spec index f25c0db..3090a98 100644 --- a/kf5-syntax-highlighting.spec +++ b/kf5-syntax-highlighting.spec @@ -5,20 +5,16 @@ %endif Name: kf5-%{framework} -Version: 5.100.0 +Version: 5.108.0 Release: 1 Summary: KDE Frameworks 5 Syntax highlighting engine for Kate syntax definitions License: MIT URL: https://invent.kde.org/frameworks/%{framework} -%global majmin %(echo %{version} | cut -d. -f1-2) -%global revision %(echo %{version} | cut -d. -f3) -%if %{revision} >= 50 -%global stable unstable -%else -%global stable stable -%endif +%global majmin %majmin_ver_kf5 +%global stable %stable_kf5 + Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz BuildRequires: extra-cmake-modules >= %{majmin} @@ -49,17 +45,12 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ - -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -popd - -%make_build -C %{_target_platform} +%cmake_kf5 +%make_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%make_install %find_lang_kf5 syntaxhighlighting5_qt @@ -89,6 +80,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %changelog +* Thu Aug 03 2023 zhangkea - 5.108.0-1 +- Update version to 5.108.0 + * Mon Dec 12 2022 lijian - 5.100.0-1 - update to upstream version 5.100.0 diff --git a/syntax-highlighting-5.100.0.tar.xz b/syntax-highlighting-5.100.0.tar.xz deleted file mode 100644 index 563a2fe..0000000 Binary files a/syntax-highlighting-5.100.0.tar.xz and /dev/null differ diff --git a/syntax-highlighting-5.108.0.tar.xz b/syntax-highlighting-5.108.0.tar.xz new file mode 100644 index 0000000..64c3afd Binary files /dev/null and b/syntax-highlighting-5.108.0.tar.xz differ