Fix python2 requires for EPEL 7.

i9ce
Richard Shaw 4 years ago
parent 74b26064d2
commit 02a32ff76b

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

Loading…
Cancel
Save