From 2cf6e32e0d6278b8b2dbd4cb95fdbffac2b2b1df Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 20 Aug 2019 10:55:15 +0200 Subject: [PATCH] Use en_US.UTF-8 locale on RHEL 7 --- apache-commons-compress.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apache-commons-compress.spec b/apache-commons-compress.spec index 52e3877..17efe3d 100644 --- a/apache-commons-compress.spec +++ b/apache-commons-compress.spec @@ -68,6 +68,9 @@ rm src/test/java/org/apache/commons/compress/compressors/z/ZCompressorInputStrea %build %mvn_file : %{short_name} %{name} %mvn_alias : commons: +%if 0%{?rhel} && 0%{?rhel} <= 7 +export LC_ALL=en_US.UTF-8 +%endif %mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.compress %install