From 244947ee88c8d87213a8d2f00f04bd42caf53e84 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Aug 20 2019 08:55:57 +0000 Subject: Use en_US.UTF-8 locale on RHEL 7 --- diff --git a/ant.spec b/ant.spec index 008beea..2324588 100644 --- a/ant.spec +++ b/ant.spec @@ -477,7 +477,10 @@ install -d -m 755 %{buildroot}%{_mandir}/man1/ install -p -m 644 man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %check -LC_ALL=C.UTF-8 %{ant} test +%if 0%{?rhel} && 0%{?rhel} <= 7 +export LC_ALL=en_US.UTF-8 +%endif +%{ant} test %files %doc KEYS README WHATSNEW