diff --git a/gradle-2.9-bin.zip b/gradle-2.9-bin.zip deleted file mode 100644 index 973c214..0000000 --- a/gradle-2.9-bin.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c9159ec4362284c0a38d73237e224deae6139cbde0db4f0f44e1c7691dd3de2f -size 44786923 diff --git a/gradle-3.2-bin.zip b/gradle-3.2-bin.zip new file mode 100644 index 0000000..f7ebf42 --- /dev/null +++ b/gradle-3.2-bin.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5321b36837226dc0377047a328f12010f42c7bf88ee4a3b1cee0c11040082935 +size 69147475 diff --git a/opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch b/opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch new file mode 100644 index 0000000..992cb1b --- /dev/null +++ b/opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch @@ -0,0 +1,28 @@ +diff --git build.xml build.xml +index a7f6209..84f4c59 100644 +--- build.xml ++++ build.xml +@@ -1,4 +1,4 @@ +- ++ + + + +@@ -18,7 +18,7 @@ + + + +- + + +- ++ + + + diff --git a/opa-fmgui.changes b/opa-fmgui.changes index c342247..d76b966 100644 --- a/opa-fmgui.changes +++ b/opa-fmgui.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 25 14:41:13 UTC 2017 - nmoreychaisemartin@suse.com + +- Update embedded gradle binaries to 3.2 to support JDK9 +- Add opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch to fix + compilation with JDK9 + ------------------------------------------------------------------- Sun Sep 10 23:38:22 UTC 2017 - jengelh@inai.de diff --git a/opa-fmgui.spec b/opa-fmgui.spec index 7cb0355..c9673f3 100644 --- a/opa-fmgui.spec +++ b/opa-fmgui.spec @@ -24,7 +24,7 @@ %define appfolder opa-fmgui %define appjar opa-fmgui.jar %define _binary_payload w9.gzdio -%define gradle_version 2.9 +%define gradle_version 3.2 Name: opa-fmgui Version: 10.1.0.0.115 @@ -77,6 +77,7 @@ Patch3: opa-fmgui-intel-manifest-license.patch # Patch auto extracted by service Patch5: stl-14927-jgraphx-update.patch Patch6: manifest-version.patch +Patch7: opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch BuildRequires: ant BuildRequires: jre >= 1.7 @@ -102,12 +103,13 @@ script fmgui. %patch3 -p1 %patch5 -p1 %patch6 -p1 +%patch7 %build (cd %{_tmppath}; rm -Rf gradle-%{gradle_version}; unzip %{_sourcedir}/gradle-%{gradle_version}-bin.zip) GRADLE_LIB_DIR=%{_sourcedir} export GRADLE_LIB_DIR -%{_tmppath}/gradle-%{gradle_version}/bin/gradle copyDeps build --info +%{_tmppath}/gradle-%{gradle_version}/bin/gradle copyDeps buildOPA --info %install mkdir -p %{buildroot}%{_javadir}/%{appfolder}