Bump Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 18:48:04 +01:00
parent e5716f113f
commit 91aa26b7d1

View File

@ -2,7 +2,7 @@
Name: xalan-j2
Version: 2.7.2
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Java XSLT processor
# src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C
License: ASL 2.0 and W3C
@ -99,8 +99,8 @@ popd
export CLASSPATH=$(build-classpath glassfish-servlet-api)
ant \
-Dcompiler.source=1.6 \
-Dcompiler.target=1.6 \
-Dcompiler.source=1.7 \
-Dcompiler.target=1.7 \
-Djava.awt.headless=true \
-Dbuild.xalan-interpretive.jar=build/xalan-interpretive.jar \
xalan-interpretive.jar\
@ -138,6 +138,9 @@ mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || :
%doc build/docs/*
%changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7.2-10
- Bump Java compiler source/target levels to 1.7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild