Improve Supplements

This backend is needed for GTK 4, not just GTK 3. It's needed for RHEL
too, not just Fedora. And it's needed even if you don't use flatpak or
snap, because host apps can use portals too.

https://pagure.io/fedora-workstation/issue/298
This commit is contained in:
Michael Catanzaro 2022-04-08 13:41:01 -05:00 committed by Debarshi Ray
parent a392308f08
commit 3badeb4695

View File

@ -21,10 +21,12 @@ BuildRequires: systemd-rpm-macros
Requires: dbus Requires: dbus
Requires: gsettings-desktop-schemas Requires: gsettings-desktop-schemas
Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version} Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version}
%if 0%{?fedora}
# Use rich deps to pull in this package when gtk3 and flatpak (or snapd) are both installed # This portal is recommended if you have installed any app that uses GTK. (It's
Supplements: (gtk3 and (flatpak or snapd)) # also recommended if you have any such app installed via flatpak or snap, but
%endif # that is impossible to detect here.)
Supplements: gtk3
Supplements: gtk4
%description %description
A backend implementation for xdg-desktop-portal that is using GTK+. A backend implementation for xdg-desktop-portal that is using GTK+.