Use en_US.UTF-8 locale on RHEL 7
This commit is contained in:
parent
ece89f16d2
commit
244947ee88
5
ant.spec
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user