Recommend this portal backend for all GTK3 and GTK4 users

... by using 'Supplements: gtk3 gtk4'.  See:
https://pagure.io/fedora-workstation/issue/298

Resolves: #2078624
This commit is contained in:
Debarshi Ray 2022-04-25 22:27:14 +02:00
parent 604984f5b7
commit 1c1184f5df
1 changed files with 11 additions and 5 deletions

View File

@ -3,7 +3,7 @@
Name: xdg-desktop-portal-gtk
Version: 1.12.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+
@ -22,10 +22,12 @@ BuildRequires: systemd-rpm-macros
Requires: dbus
Requires: gsettings-desktop-schemas
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
Supplements: (gtk3 and (flatpak or snapd))
%endif
# This portal is recommended if you have installed any app that uses GTK. (It's
# also recommended if you have any such app installed via flatpak or snap, but
# that is impossible to detect here.)
Supplements: gtk3
Supplements: gtk4
%description
A backend implementation for xdg-desktop-portal that is using GTK+ and various
@ -77,6 +79,10 @@ org.gnome.SessionManager D-Bus interfaces.
%changelog
* Tue Feb 08 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.0-1
- Recommend this portal backend for all GTK3 and GTK4 users
Resolves: #2078624
* Tue Feb 08 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.0-1
- Rebase to 1.12.0
Resolves: #2051493