From 286a7be2ac1195574f9cb8d53e10d0450b782548 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Mon, 15 Jan 2024 13:28:09 -0600 Subject: [PATCH] Don't recommend WebKitGTK in RHEL Apparently even weak dependencies cause the package to get pulled in by content resolver, so this needs to be made conditional. --- gnome-shell.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnome-shell.spec b/gnome-shell.spec index a55c209..0f980a9 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -133,8 +133,11 @@ Requires: xdg-desktop-portal-gtk >= 1.8.0 Requires: xdg-desktop-portal-gnome # needed by the welcome dialog Recommends: gnome-tour + +%if !0%{?rhel} # needed for captive portal helper Recommends: webkitgtk6.0%{?_isa} +%endif # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval # xdg-desktop-portal and xdg-desktop-portal-gtk no longer have i686