From 26fc0bcaddc7f23135d601736fe0e4fad26acd93 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 4 Jun 2021 12:11:35 +0300 Subject: [PATCH] Depend on system-logos-ipa on RHEL/CentOS Stream Fedora ELN represents itself as a RHEL but it does not have redhat-logos-ipa package. CentOS Stream does not have redhat-logos-ipa but has centos-logos-ipa package. Both RHEL and CentOS Stream provide system-logos-ipa so we can depend on it instead. This allows to make IPA packages installable on CentOS Stream and on Fedora ELN. Fixes: https://pagure.io/freeipa/issue/8874 Signed-off-by: Alexander Bokovoy --- freeipa.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index f84d108a4..ebd91594e 100755 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -541,8 +541,8 @@ Requires: %{name}-client-common = %{version}-%{release} Requires: httpd >= %{httpd_version} Requires: systemd-units >= %{systemd_version} Requires: custodia >= 0.3.1 -%if 0%{?rhel} >= 8 -Requires: redhat-logos-ipa >= 80.4 +%if 0%{?rhel} >= 8 && ! 0%{?eln} +Requires: system-logos-ipa >= 80.4 %endif Provides: %{alt_name}-server-common = %{version}