diff --git a/plasma-integration.spec b/plasma-integration.spec index 500dc51..97a2136 100644 --- a/plasma-integration.spec +++ b/plasma-integration.spec @@ -41,8 +41,8 @@ BuildRequires: cmake(KF5Wayland) BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} -BuildRequires: plasma-breeze-devel >= %{version} -Requires: plasma-breeze >= %{version} +BuildRequires: plasma-breeze-devel >= %{majmin_ver} +Requires: plasma-breeze >= %{majmin_ver} Requires: breeze-cursor-theme >= %{majmin_ver} Requires: breeze-icon-theme %if 0%{?fedora} < 23 @@ -57,6 +57,10 @@ Requires: plasma-workspace >= %{majmin_ver} %prep %autosetup -p1 +sed -i.breeze_version \ + -e "s|^find_package(Breeze \${PROJECT_VERSION} |find_package(Breeze %{majmin_ver} |g" \ + CMakeLists.txt + %build mkdir %{_target_platform}