From b5e4fd352244eb24ea16d2f219f40a956305b7c6 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sat, 25 Jun 2016 17:02:31 -0500 Subject: [PATCH] fix build add versioned dep on plasma-breeze (re)add majmin_ver macro (still used) --- plasma-integration.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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