define majmin macro used elsewhere

epel9
Rex Dieter 7 years ago
parent c594d2a0af
commit 99c147ec51

@ -11,8 +11,10 @@ URL: https://cgit.kde.org/%{name}.git
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global majmin_ver %(echo %{version} | cut -d. -f1,2).50
%global stable unstable
%else
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz

Loading…
Cancel
Save