Force Java 8 as sun.reflect.Reflection is removed in Java 11.
This commit is contained in:
parent
bfb1f6ac4f
commit
31ff93f81d
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: jdeparser
|
Name: jdeparser
|
||||||
Version: 2.0.3
|
Version: 2.0.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Source generator library for Java
|
Summary: Source generator library for Java
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/jdeparser/jdeparser2
|
URL: https://github.com/jdeparser/jdeparser2
|
||||||
@ -11,6 +11,7 @@ URL: https://github.com/jdeparser/jdeparser2
|
|||||||
Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
|
Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: java-1.8.0-openjdk-devel
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
||||||
@ -31,6 +32,8 @@ This package contains the API documentation for %{name}.
|
|||||||
%setup -q -n jdeparser2-%{namedversion}
|
%setup -q -n jdeparser2-%{namedversion}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Use Java 8 as sun.reflect.Reflection is removed in Java 11.
|
||||||
|
export JAVA_HOME=%{_jvmdir}/java-1.8.0
|
||||||
%mvn_build
|
%mvn_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -43,6 +46,9 @@ This package contains the API documentation for %{name}.
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 28 2020 Markku Korkeala <markku.korkeala@iki.fi> - 2.0.3-5
|
||||||
|
- Force Java 8 as sun.reflect.Reflection is removed in Java 11.
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-4
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user