diff --git a/xalan-j2.spec b/xalan-j2.spec index 8c674ac..dffd9ba 100644 --- a/xalan-j2.spec +++ b/xalan-j2.spec @@ -32,7 +32,7 @@ Name: xalan-j2 Version: 2.7.2 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 0 Summary: Java XSLT processor # src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C @@ -63,6 +63,7 @@ BuildRequires: sed BuildRequires: glassfish-servlet-api BuildRequires: xerces-j2 >= 0:2.7.1 BuildRequires: xml-commons-apis >= 0:1.3 +BuildRequires: java-1.8.0-openjdk-devel Requires: xerces-j2 @@ -132,6 +133,7 @@ sed -i 's/\r//' KEYS LICENSE.txt NOTICE.txt xdocs/style/resources/script.js \ %mvn_package :xsltc xsltc %build +export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk pushd lib ln -sf $(build-classpath java_cup-runtime) runtime.jar ln -sf $(build-classpath bcel) BCEL.jar @@ -205,6 +207,9 @@ mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || : %{_datadir}/%{name} %changelog +* Mon Jun 29 2020 Mat Booth - 0:2.7.2-4 +- Peg to Java 8 due to build issues on Java 11 + * Fri Jun 19 2020 Mat Booth - 0:2.7.2-3 - Allow building against Java 11