diff --git a/kaccounts-providers.spec b/kaccounts-providers.spec index 8e011f7..79b67a5 100644 --- a/kaccounts-providers.spec +++ b/kaccounts-providers.spec @@ -16,7 +16,8 @@ Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{ BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: intltool -BuildRequires: kaccounts-integration-devel >= 15.08 +%global majmin_ver %(echo %{version} | cut -d. -f1,2) +BuildRequires: kaccounts-integration-devel >= %{majmin_ver} BuildRequires: kf5-kdeclarative-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kio-devel