use majmin macro, in build deps too

epel9
Rex Dieter 6 years ago
parent 5b3877fa58
commit 5c2e3e8330

@ -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

Loading…
Cancel
Save