From e0082e942bbd887e00f95d4399033ebfab7cfbe7 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Fri, 4 Nov 2022 07:17:37 -0500 Subject: [PATCH] Add Requires for selinux subpackage for EL 9. --- fail2ban.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban.spec b/fail2ban.spec index 8bada15..74e8a11 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -89,7 +89,7 @@ Requires(post): systemd Requires(preun): systemd Requires(postun): systemd -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 9 Requires: (%{name}-selinux if selinux-policy-%{selinuxtype}) %endif