From e7d165bbd6d3b3337ec43d07bafe73755421e0f95314ff3228760c49fe6dfa4f Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Mon, 26 Jun 2017 16:10:48 +0000 Subject: [PATCH] - Switch to more generic appstream-provider and PackageKit requires OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/discover?expand=0&rev=88 --- discover.changes | 5 +++++ discover.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/discover.changes b/discover.changes index 64fa5e3..4e3e749 100644 --- a/discover.changes +++ b/discover.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 26 16:07:56 UTC 2017 - fabian@ritter-vogt.de + +- Switch to more generic appstream-provider and PackageKit requires + ------------------------------------------------------------------- Sun Jun 25 11:33:21 UTC 2017 - fabian@ritter-vogt.de diff --git a/discover.spec b/discover.spec index d6c15b3..bee6afc 100644 --- a/discover.spec +++ b/discover.spec @@ -56,10 +56,14 @@ BuildRequires: cmake(Qt5Test) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) Requires: AppStream -Requires: PackageKit-backend-zypp +Requires: PackageKit Requires: kirigami2 Requires: libqt5-qtquickcontrols2 +%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300 +Requires: appstream-provider +%else Requires: libzypp-plugin-appdata +%endif %if %{with lang} Recommends: %{name}-lang %endif