Adapted 3.0 to epel

This commit is contained in:
Jiri Vanek 2019-08-27 18:35:36 +02:00
commit 666550f9c9
3 changed files with 56 additions and 9 deletions

View file

@ -11,11 +11,15 @@ Source3: jrd.desktop
Patch0: remove_rsyntaxtextarea.patch
Patch1: systemFernflower.patch
Patch2: systemProcyon.patch
Patch3: fixDoclint.patch
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: byteman
# RHEL does not have this package
# BuildRequires: rsyntaxtextarea
BuildRequires: junit
BuildRequires: ant-junit
BuildRequires: maven-surefire-provider-junit
BuildRequires: maven-surefire
BuildRequires: maven-surefire-plugin
# depends on devel, not runtime (needs tools.jar)
BuildRequires: java-devel = 1:1.8.0
BuildRequires: google-gson
@ -39,6 +43,7 @@ This package contains the API documentation for %{name}.
%patch0 -p1
%patch1
%patch2
%patch3 -p1
%build
pushd runtime-decompiler
@ -47,7 +52,7 @@ pushd runtime-decompiler
%pom_remove_plugin :maven-jar-plugin
popd
export JAVA_TOOL_OPTIONS="-Dadditionalparam=-Xdoclint:none -DadditionalJOption=-Xdoclint:none"
%mvn_build
%mvn_build -f
%install
%mvn_install