From e685f72cdac40bd3bbdeb1272338629c5abfac12 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Wed, 29 Jul 2020 07:51:20 -0500 Subject: [PATCH] Fix python2 requires for EPEL 7. --- fail2ban.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fail2ban.spec b/fail2ban.spec index d6df97f..48fa262 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -1,6 +1,6 @@ Name: fail2ban Version: 0.11.1 -Release: 9%{?dist}.1 +Release: 9%{?dist}.2 Summary: Daemon to ban hosts that cause multiple authentication errors License: GPLv2+ @@ -86,7 +86,7 @@ SELinux policies for Fail2Ban. %package server Summary: Core server component for Fail2Ban %if 0%{?rhel} && 0%{?rhel} < 8 -Requires: python-systemd +Requires: systemd-python %else Requires: python3-systemd %endif @@ -390,7 +390,7 @@ fi %changelog -* Tue Jul 28 2020 Richard Shaw - 0.11.1-9.1 +* Tue Jul 28 2020 Richard Shaw - 0.11.1-9.2 - Fix python2 requires for EPEL 7. * Mon Jul 27 2020 Richard Shaw - 0.11.1-9