diff --git a/discover.spec b/discover.spec index db180bc..c2501a4 100644 --- a/discover.spec +++ b/discover.spec @@ -74,16 +74,8 @@ BuildRequires: cmake(Qt5Xml) %if 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(fwupd) >= 1.0.6 %endif -Requires: AppStream -Requires: PackageKit -Requires: flatpak Requires: kirigami2 Requires: libqt5-qtquickcontrols2 -%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300 -Requires: appstream-provider -%else -Requires: libzypp-plugin-appdata -%endif Recommends: %{name}-lang Recommends: %{name}-backend-packagekit Recommends: %{name}-backend-flatpak @@ -96,6 +88,15 @@ Disover is the KDE software installer, implemented as an app store like applicat Summary: PackageKit Backend for Discover Group: System/GUI/KDE Requires: %{name} = %{version} +# Technically libdiscover and not the backend implements AppStream support, but +# it's useless without system package management +Requires: AppStream +Requires: PackageKit +%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300 +Requires: appstream-provider +%else +Requires: libzypp-plugin-appdata +%endif %description backend-packagekit A plugin for Discover to support management of system packages and repositories @@ -105,6 +106,7 @@ using PackageKit. Summary: Flatpak Backend for Discover Group: System/GUI/KDE Requires: %{name} = %{version} +Requires: flatpak %description backend-flatpak A plugin for Discover to support installation and management of Flatpak