From 02a32ff76b6594ab4204d2ffeb2fe0a5372fb99b Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Mon, 27 Jul 2020 20:43:58 -0500 Subject: [PATCH] Fix python2 requires for EPEL 7. --- fail2ban.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fail2ban.spec b/fail2ban.spec index 005729e..5e48fe0 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -36,7 +36,7 @@ Patch8: https://github.com/fail2ban/fail2ban/commit/309c8dddd7adc2de140ed5a72088 BuildArch: noarch %if 0%{?rhel} && 0%{?rhel} < 8 -BuildRequires: python2-devel +BuildRequires: python-devel # For testcases BuildRequires: python-inotify %else @@ -86,7 +86,7 @@ SELinux policies for Fail2Ban. %package server Summary: Core server component for Fail2Ban %if 0%{?rhel} && 0%{?rhel} < 8 -Requires: python2-systemd +Requires: python-systemd %else Requires: python3-systemd %endif