!14 Fix build failure due to openjdk introduced a incomplete patch

From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-12-22 00:57:00 +00:00 committed by Gitee
commit a426f5fd86
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global reldate 20170915
Name: apache-poi
Version: 3.17
Release: 3
Release: 4
Summary: The Java API for Microsoft Documents
License: Apache-2.0 and GPL-3.0-only
URL: http://poi.apache.org/
@ -94,6 +94,8 @@ rm src/ooxml/testcases/org/apache/poi/sl/TestFonts.java
rm -f src/ooxml/testcases/org/apache/poi/xssf/streaming/TestAutoSizeColumnTracker.java
rm -f src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFSheet.java
rm -f src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java
sed -i '/testPPTX/,+15d;:go;1,1!{P;N;D};N;bgo' src/ooxml/testcases/org/apache/poi/TestPOIXMLDocument.java
sed -i '$d' src/ooxml/testcases/org/apache/poi/TestPOIXMLDocument.java
%build
cat > build.properties <<'EOF'
@ -134,6 +136,9 @@ done
%license LICENSE NOTICE
%changelog
* Wed Nov 22 2023 Ge Wang <wang__ge@126.com> - 3.17-4
- Fix build failure due to openjdk introduced a incomplete patch
* Mon Jul 18 2022 wangkai <wangkai385@h-partners.com> - 3.17-3
- License compliance rectification