|
|
|
@ -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
|
|
|
|
|