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.
This commit is contained in:
Michael Catanzaro 2024-01-15 13:28:09 -06:00
parent 8cfa0c06f5
commit 286a7be2ac

View File

@ -133,8 +133,11 @@ Requires: xdg-desktop-portal-gtk >= 1.8.0
Requires: xdg-desktop-portal-gnome Requires: xdg-desktop-portal-gnome
# needed by the welcome dialog # needed by the welcome dialog
Recommends: gnome-tour Recommends: gnome-tour
%if !0%{?rhel}
# needed for captive portal helper # needed for captive portal helper
Recommends: webkitgtk6.0%{?_isa} Recommends: webkitgtk6.0%{?_isa}
%endif
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
# xdg-desktop-portal and xdg-desktop-portal-gtk no longer have i686 # xdg-desktop-portal and xdg-desktop-portal-gtk no longer have i686