From 92c68a1f575cd49d0b756b6dcca599c29acf09b4 Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Sat, 20 Jun 2020 00:41:17 +0100 Subject: [PATCH] Allow building against Java 11 --- xalan-j2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xalan-j2.spec b/xalan-j2.spec index 930cfa8..8c674ac 100644 --- a/xalan-j2.spec +++ b/xalan-j2.spec @@ -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 - 0:2.7.2-3 +- Allow building against Java 11 + * Fri Jan 31 2020 Fedora Release Engineering - 0:2.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild