From 972b4a161528254e3fe2a577d46204391fdf718d Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 12 Jan 2024 09:17:49 +0100 Subject: [PATCH] Don't recommend avif and jxl loaders on RHEL avif and jxl are not available in RHEL. --- gdk-pixbuf2.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdk-pixbuf2.spec b/gdk-pixbuf2.spec index 2df9369..e57a1df 100644 --- a/gdk-pixbuf2.spec +++ b/gdk-pixbuf2.spec @@ -38,8 +38,11 @@ Summary: Additional image modules for gdk-pixbuf2 Requires: %{name}%{?_isa} = %{version}-%{release} # Recommend external pixbuf loaders for popular image formats only. # Please do not recommend obscure image formats here. +%if ! 0%{?rhel} +# avif and jxl are not shipped in RHEL Recommends: avif-pixbuf-loader Recommends: jxl-pixbuf-loader +%endif Recommends: rsvg-pixbuf-loader Recommends: webp-pixbuf-loader