Recommend this portal backend for all GNOME users

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

Resolves: #2051473
This commit is contained in:
Debarshi Ray 2022-04-12 01:06:53 +02:00
parent e48cac46b0
commit e4a644d45e

View File

@ -5,7 +5,7 @@
Name: xdg-desktop-portal-gnome
Version: 41.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GNOME
License: LGPLv2+
@ -24,10 +24,7 @@ BuildRequires: systemd-rpm-macros
Requires: dbus
Requires: dbus-common
Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version}
%if 0%{?fedora}
# Use rich deps to pull in this package when gnome-shell and flatpak (or snapd) are both installed
Supplements: (gnome-shell and (flatpak or snapd))
%endif
Supplements: gnome-shell
%description
A backend implementation for xdg-desktop-portal that is using various pieces of
@ -69,6 +66,10 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%changelog
* Tue Apr 12 2022 Debarshi Ray <rishi@fedoraproject.org> - 41.1-3
- Recommend this portal backend for all GNOME users
Resolves: #2051473
* Tue Apr 05 2022 Debarshi Ray <rishi@fedoraproject.org> - 41.1-2
- Make the Supplements specific to Fedora to retain consistency with
xdg-desktop-portal-gtk