From e0082e942bbd887e00f95d4399033ebfab7cfbe7 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Nov 04 2022 12:17:37 +0000 Subject: Add Requires for selinux subpackage for EL 9. --- 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