Use en_US.UTF-8 locale on RHEL 7

This commit is contained in:
Mikolaj Izdebski 2019-08-20 10:55:57 +02:00
parent ece89f16d2
commit 244947ee88

View File

@ -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