diff --git a/excludeTrasnitiveTools.patch b/excludeTrasnitiveTools.patch new file mode 100644 index 0000000..396eb8d --- /dev/null +++ b/excludeTrasnitiveTools.patch @@ -0,0 +1,16 @@ +--- runtime-decompiler/pom.xml ++++ runtime-decompiler/pom.xml +@@ -163,6 +163,12 @@ + byteman-install + 4.0.15 + jar ++ ++ ++ com.sun ++ tools ++ ++ + + + + diff --git a/java-runtime-decompiler.spec b/java-runtime-decompiler.spec index 8cf55ea..bff8f12 100644 --- a/java-runtime-decompiler.spec +++ b/java-runtime-decompiler.spec @@ -13,6 +13,8 @@ Patch2: systemProcyon.patch Patch4: systemCfr.patch Patch5: systemJasm.patch Patch6: systemJcoder.patch +#to fix issue, when byteman requires tools.jar +Patch7: excludeTrasnitiveTools.patch BuildArch: noarch @@ -23,7 +25,7 @@ BuildRequires: ant-junit BuildRequires: maven-surefire-provider-junit BuildRequires: maven-surefire BuildRequires: maven-surefire-plugin -BuildRequires: java-11-devel +BuildRequires: java-11-openjdk-devel BuildRequires: google-gson BuildRequires: desktop-file-utils BuildRequires: classpathless-compiler @@ -53,6 +55,7 @@ This package contains the API documentation for %{name}. %patch4 -p0 %patch5 -p0 %patch6 -p0 +%patch7 -p0 %build pushd runtime-decompiler