diff --git a/plasma-integration.spec b/plasma-integration.spec index 2b639c5..ec50a19 100644 --- a/plasma-integration.spec +++ b/plasma-integration.spec @@ -15,6 +15,8 @@ URL: https://quickgit.kde.org/?p=%{name}.git %endif Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz +%global majmin_ver %(echo %{version} | cut -d. -f1,2) + BuildRequires: kf5-rpm-macros BuildRequires: extra-cmake-modules @@ -39,7 +41,8 @@ BuildRequires: cmake(KF5Wayland) BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} -Requires: plasma-breeze >= %{majmin_ver} +BuildRequires: plasma-breeze >= %{version} +Requires: plasma-breeze >= %{version} Requires: breeze-cursor-theme >= %{majmin_ver} Requires: breeze-icon-theme %if 0%{?fedora} < 23