From 7bb2e3b8730c9fc3f14f912c64cc8a4aafcc6ae0 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 19 Jul 2016 11:11:38 -0500 Subject: [PATCH] relax plasma-breeze deps --- plasma-integration.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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}