From 57c803963c5c7cdc8d967b7c9d1bccdb9ceb76c2714ad1a307f8712cb7ab35a7 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sat, 12 Mar 2022 15:20:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/aho-corasick-double-array-trie?expand=0&rev=4 --- aho-corasick-double-array-trie.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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