From 1c1184f5dfe56aebd067db3543fb78ef54e516d4 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 25 Apr 2022 22:27:14 +0200 Subject: [PATCH] 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 --- xdg-desktop-portal-gtk.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec index 69bda42..1d57d8a 100644 --- a/xdg-desktop-portal-gtk.spec +++ b/xdg-desktop-portal-gtk.spec @@ -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 - 1.12.0-1 +- Recommend this portal backend for all GTK3 and GTK4 users +Resolves: #2078624 + * Tue Feb 08 2022 Debarshi Ray - 1.12.0-1 - Rebase to 1.12.0 Resolves: #2051493