diff --git a/xbean.spec b/xbean.spec index 2ceb8d3..fbbc539 100644 --- a/xbean.spec +++ b/xbean.spec @@ -5,7 +5,7 @@ Name: xbean Summary: Java plugin based web server Version: 4.15 -Release: 2%{?dist} +Release: 3%{?dist} License: ASL 2.0 URL: http://geronimo.apache.org/xbean/ @@ -27,6 +27,8 @@ BuildRequires: mvn(org.osgi:osgi.core) BuildRequires: mvn(org.ow2.asm:asm) BuildRequires: mvn(org.ow2.asm:asm-commons) BuildRequires: mvn(org.slf4j:slf4j-api) +# This package cannot be built with JDK 9 and above +BuildRequires: java-1.8.0-openjdk-devel %if %{with equinox} BuildRequires: mvn(org.eclipse:osgi) @@ -162,6 +164,7 @@ sed -i "s|||" xbean-blueprint/pom.xml %build +export JAVA_HOME=/usr/lib/jvm/java-1.8.0 %mvn_build @@ -191,6 +194,9 @@ sed -i "s|||" xbean-blueprint/pom.xml %changelog +* Thu Jun 25 2020 Jeff Johnston - 4.15-3 +- Fix JVM as 1.8.0 as package cannot be built with Java 9 and above + * Fri Jan 31 2020 Fedora Release Engineering - 4.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild