Fix python2 requires for EPEL 7.
This commit is contained in:
parent
74b26064d2
commit
02a32ff76b
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue