Require mailx for /usr/bin/mailx

i9ce
Orion Poplawski 11 years ago
parent d81aba9573
commit ed39c40e98

@ -1,7 +1,7 @@
Summary: Daemon to ban hosts that cause multiple authentication errors Summary: Daemon to ban hosts that cause multiple authentication errors
Name: fail2ban Name: fail2ban
Version: 0.9 Version: 0.9
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv2+ License: GPLv2+
URL: http://fail2ban.sourceforge.net/ URL: http://fail2ban.sourceforge.net/
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
@ -108,7 +108,7 @@ files.
%package mail %package mail
Summary: Mail actions for Fail2Ban Summary: Mail actions for Fail2Ban
Requires: %{name}-server = %{version}-%{release} Requires: %{name}-server = %{version}-%{release}
Requires: /usr/bin/mail Requires: mailx
%description mail %description mail
This package installs Fail2Ban's mail actions. These are an alternative This package installs Fail2Ban's mail actions. These are an alternative
@ -267,6 +267,9 @@ fi
%changelog %changelog
* Thu Mar 20 2014 Orion Poplawski <orion@cora.nwra.com> - 0.9-5
- Require mailx for /usr/bin/mailx
* Thu Mar 20 2014 Orion Poplawski <orion@cora.nwra.com> - 0.9-4 * Thu Mar 20 2014 Orion Poplawski <orion@cora.nwra.com> - 0.9-4
- Need empty %%files to produce main and -all package - Need empty %%files to produce main and -all package

Loading…
Cancel
Save