From b92237200995c92c255c9567972b91346b9cf0e5 Mon Sep 17 00:00:00 2001 From: zke <19966422680@163.com> Date: Wed, 6 Mar 2024 21:31:08 +0800 Subject: [PATCH] update spec --- apache-poi.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apache-poi.spec b/apache-poi.spec index 88c26fa..baac77a 100644 --- a/apache-poi.spec +++ b/apache-poi.spec @@ -1,7 +1,7 @@ %global reldate 20170915 Name: apache-poi Version: 3.17 -Release: 4 +Release: 5 Summary: The Java API for Microsoft Documents License: Apache-2.0 and GPL-3.0-only URL: http://poi.apache.org/ @@ -98,6 +98,10 @@ sed -i '/testPPTX/,+15d;:go;1,1!{P;N;D};N;bgo' src/ooxml/testcases/org/apache/po sed -i '$d' src/ooxml/testcases/org/apache/poi/TestPOIXMLDocument.java %build +%if "%{_arch}" == "riscv64" +sed -i -E 's/timeout=60000/timeout=500000/' src/ooxml/testcases/org/apache/poi/xssf/extractor/TestXSSFImportFromXML.java +export JAVA_TOOL_OPTIONS="-Xmx4096m" +%endif cat > build.properties <<'EOF' main.ant.jar=lib/ant.jar main.commons-collections4.jar=lib/commons-collections4.jar @@ -136,6 +140,9 @@ done %license LICENSE NOTICE %changelog +* Wed Mar 6 2024 zke_012020 - 3.17-5 +- Update spec for RISCV64 + * Wed Nov 22 2023 Ge Wang - 3.17-4 - Fix build failure due to openjdk introduced a incomplete patch -- Gitee