From 0891a342096457a171bb26767673fc91c3b82f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Nov 2018 23:42:01 +0100 Subject: [PATCH] Drop explicit locale setting Python3 now sets unicode locale automatically, this workaround should not be necessary anymore. --- fail2ban.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fail2ban.spec b/fail2ban.spec index 8bc670a..80cf653 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -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 - 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 - 0.10.4-1 - Update to 0.10.4