From 13859c13fa955c7704969388f67832c1cd9e815b6e6d9b38f84981ffbe14147b Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Wed, 15 Feb 2017 15:40:12 +0000 Subject: [PATCH] PackageKit-Qt5 for Leap OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/discover?expand=0&rev=70 --- discover.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/discover.spec b/discover.spec index 924521e..ab3b4bc 100644 --- a/discover.spec +++ b/discover.spec @@ -25,7 +25,11 @@ License: GPL-2.0 Group: System/GUI/KDE Url: https://quickgit.kde.org/?p=discover.git Source: http://download.kde.org/stable/plasma/%{version}/discover-%{version}.tar.xz -BuildRequires: PackageKit-Qt-devel +%if 0%suse_version > 1320 +BuildRequires: PackageKit-Qt-devel >= 0.9.6 +%else +BuildRequires: PackageKit-Qt5-devel +%endif BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem