Drop explicit locale setting

Python3 now sets unicode locale automatically, this workaround
should not be necessary anymore.
i9ce
Zbigniew Jędrzejewski-Szmek 6 years ago
parent d502fdede3
commit 0891a34209

@ -1,7 +1,7 @@
Summary: Daemon to ban hosts that cause multiple authentication errors
Name: fail2ban
Version: 0.10.4
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
URL: http://fail2ban.sourceforge.net/
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
@ -208,8 +208,6 @@ EOF
rm -r %{buildroot}%{_docdir}/%{name}
%check
# Need a UTF-8 locale to work
export LANG=en_US.UTF-8
./fail2ban-testcases-all-python3 --no-network
%post server
@ -296,6 +294,10 @@ fi
%changelog
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.10.4-2
- Drop explicit locale setting
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Fri Oct 5 2018 Orion Poplawski <orion@nwra.com> - 0.10.4-1
- Update to 0.10.4

Loading…
Cancel
Save