Allow building against Java 11
This commit is contained in:
parent
0f58874153
commit
92c68a1f57
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
Name: xalan-j2
|
Name: xalan-j2
|
||||||
Version: 2.7.2
|
Version: 2.7.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Java XSLT processor
|
Summary: Java XSLT processor
|
||||||
# src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C
|
# src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C
|
||||||
@ -145,7 +145,7 @@ ln -sf $(build-classpath ant) ant.jar
|
|||||||
popd
|
popd
|
||||||
export CLASSPATH=$(build-classpath glassfish-servlet-api)
|
export CLASSPATH=$(build-classpath glassfish-servlet-api)
|
||||||
|
|
||||||
ant \
|
ant -Dcompiler.source=1.8 -Dcompiler.target=1.8 \
|
||||||
-Djava.awt.headless=true \
|
-Djava.awt.headless=true \
|
||||||
-Dapi.j2se=%{_javadocdir}/java \
|
-Dapi.j2se=%{_javadocdir}/java \
|
||||||
-Dbuild.xalan-interpretive.jar=build/xalan-interpretive.jar \
|
-Dbuild.xalan-interpretive.jar=build/xalan-interpretive.jar \
|
||||||
@ -205,6 +205,9 @@ mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || :
|
|||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user