Make the Supplements specific to Fedora

... to retain consistency with xdg-desktop-portal-gtk.

It's not clear why the Supplements in xdg-desktop-portal-gtk is
specific to Fedora.  Meanwhile, at least, it doesn't hurt to keep
things consistent.

Resolves: #2051473
This commit is contained in:
Debarshi Ray 2022-04-05 20:00:24 +02:00
parent d9471daba3
commit dc38e79e89

View File

@ -5,7 +5,7 @@
Name: xdg-desktop-portal-gnome Name: xdg-desktop-portal-gnome
Version: 41.1 Version: 41.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GNOME Summary: Backend implementation for xdg-desktop-portal using GNOME
License: LGPLv2+ License: LGPLv2+
@ -24,8 +24,10 @@ BuildRequires: systemd-rpm-macros
Requires: dbus Requires: dbus
Requires: dbus-common Requires: dbus-common
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 gnome-shell and flatpak (or snapd) are both installed # 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)) Supplements: (gnome-shell and (flatpak or snapd))
%endif
%description %description
A backend implementation for xdg-desktop-portal that is using various pieces of A backend implementation for xdg-desktop-portal that is using various pieces of
@ -67,6 +69,11 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%changelog %changelog
* 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
Resolves: #2051473
* Sat Mar 05 2022 Debarshi Ray <rishi@fedoraproject.org> - 41.1-1 * Sat Mar 05 2022 Debarshi Ray <rishi@fedoraproject.org> - 41.1-1
- Initial version - Initial version
Resolves: #2051473 Resolves: #2051473