From 02c1fe4590d455cfdbe4a5137c33f946d6ab122bde5ad5cfdbe5c64a29158edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20M=C3=B6llers?= Date: Thu, 13 Apr 2017 14:51:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/science:HPC/opa-fmgui?expand=0&rev=17 --- gradle-rename-build-task.patch | 20 ++++++++++++++++++++ opa-fmgui.spec | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 gradle-rename-build-task.patch 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)