Allow building against Java 11

This commit is contained in:
Mat Booth 2020-06-20 00:41:17 +01:00
parent 0f58874153
commit 92c68a1f57

View File

@ -32,7 +32,7 @@
Name: xalan-j2
Version: 2.7.2
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 0
Summary: Java XSLT processor
# src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C
@ -145,7 +145,7 @@ ln -sf $(build-classpath ant) ant.jar
popd
export CLASSPATH=$(build-classpath glassfish-servlet-api)
ant \
ant -Dcompiler.source=1.8 -Dcompiler.target=1.8 \
-Djava.awt.headless=true \
-Dapi.j2se=%{_javadocdir}/java \
-Dbuild.xalan-interpretive.jar=build/xalan-interpretive.jar \
@ -205,6 +205,9 @@ mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || :
%{_datadir}/%{name}
%changelog
* Fri Jun 19 2020 Mat Booth <mat.booth@redhat.com> - 0:2.7.2-3
- Allow building against Java 11
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild