diff --git a/kf5-syntax-highlighting.spec b/kf5-syntax-highlighting.spec index 38f4020..9b76f66 100644 --- a/kf5-syntax-highlighting.spec +++ b/kf5-syntax-highlighting.spec @@ -15,7 +15,7 @@ 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 majmin %majmin_ver_kf5 %global stable %stable_kf5 Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz