Fix JVM as 1.8.0 as package cannot be built with Java 9 and above
This commit is contained in:
parent
9b79ebb7dc
commit
ac9f674544
@ -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|</Private-Package>|</Private-Package-->|" xbean-blueprint/pom.xml
|
||||
|
||||
|
||||
%build
|
||||
export JAVA_HOME=/usr/lib/jvm/java-1.8.0
|
||||
%mvn_build
|
||||
|
||||
|
||||
@ -191,6 +194,9 @@ sed -i "s|</Private-Package>|</Private-Package-->|" xbean-blueprint/pom.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 25 2020 Jeff Johnston <jjohnstn@redhat.com> - 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 <releng@fedoraproject.org> - 4.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user