diff --git a/aho-corasick-double-array-trie.spec b/aho-corasick-double-array-trie.spec index a6e1f76..1570cf4 100644 --- a/aho-corasick-double-array-trie.spec +++ b/aho-corasick-double-array-trie.spec @@ -42,9 +42,12 @@ This package contains javadoc for %{name}. cp %{SOURCE1} . %pom_remove_plugin :maven-source-plugin +%pom_remove_plugin :maven-javadoc-plugin %build -%{mvn_build} -f -- -Dsource=6 -Dencoding=utf-8 +# Somehow, this needs to be in an UTF-8 environment +export LANG=en_US.utf8 +%{mvn_build} -f -- -Dsource=6 %install %mvn_install