diff --git a/kf5-kirigami2.spec b/kf5-kirigami2.spec index 71ddbc7..26680d8 100644 --- a/kf5-kirigami2.spec +++ b/kf5-kirigami2.spec @@ -15,21 +15,22 @@ Summary: QtQuick plugins to build user interfaces based on the KDE UX guidelines # All LGPLv2+ except for src/desktopicons.h (GPLv2+) License: GPLv2+ URL: https://techbase.kde.org/Kirigami -%global versiondir %(echo %{version} | cut -d. -f1-2) + +%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 -Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-framework-%{version}.tar.xz ## upstream paches # filter qml provides %global __provides_exclude_from ^%{_kf5_qmldir}/.*\\.so$ -BuildRequires: extra-cmake-modules >= %{version} +BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: kf5-rpm-macros BuildRequires: qt5-linguist