diff --git a/gradle-rename-build-task.patch b/gradle-rename-build-task.patch new file mode 100644 index 0000000..973ca5c --- /dev/null +++ b/gradle-rename-build-task.patch @@ -0,0 +1,20 @@ +Index: opa-fmgui/build.gradle +=================================================================== +--- opa-fmgui.orig/build.gradle ++++ opa-fmgui/build.gradle +@@ -87,4 +87,5 @@ project(':gritty') { + + } + ++build.dependsOn assemble + ant.importBuild 'build.xml' +Index: opa-fmgui/build.xml +=================================================================== +--- opa-fmgui.orig/build.xml ++++ opa-fmgui/build.xml +@@ -1,4 +1,4 @@ +- ++ + + + diff --git a/opa-fmgui.spec b/opa-fmgui.spec index c41fb32..af87f4e 100644 --- a/opa-fmgui.spec +++ b/opa-fmgui.spec @@ -48,6 +48,7 @@ Source13: gradle-3.5-bin.zip Patch1: gradle-use_local_repo.patch Patch3: opa-fmgui-intel-manifest-license.patch Patch5: stl-14927-jgraphx-update.patch +Patch6: gradle-rename-build-task.patch BuildRequires: ant BuildRequires: jre >= 1.7 @@ -71,6 +72,7 @@ script fmgui. %patch1 -p1 %patch3 -p1 %patch5 -p1 +%patch6 -p1 %build (cd %{_tmppath}; unzip $RPM_SOURCE_DIR/gradle-3.5-bin.zip)