From da65cc35bdac530eec6c62307a48d76d582c177c Mon Sep 17 00:00:00 2001 From: Jerry James Date: May 23 2023 13:26:58 +0000 Subject: Change fontawesome-fonts requires to match fontawesome 4.x fontawesome 6.x is not entirely compatible with 4.x version but in Fedora the change was made to make 4.x bits FreeIPA depends on to be forward-ported to 6.x build. This also allows to have common dependency for all versions. This patch switches to the common dependency using 'fonts(fontawesome)'. This works on all Fedora and RHEL versions. Signed-off-by: Jerry James Signed-off-by: Alexander Bokovoy Reviewed-By: Rob Crittenden --- diff --git a/freeipa.spec.in b/freeipa.spec.in index c2063ba..3e23bbf 100755 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -493,7 +493,7 @@ Requires: policycoreutils >= 2.1.12-5 Requires: tar Requires(pre): certmonger >= %{certmonger_version} Requires(pre): 389-ds-base >= %{ds_version} -Requires: fontawesome-fonts +Requires: font(fontawesome) Requires: open-sans-fonts %if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 # https://pagure.io/freeipa/issue/8632