You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2015/04/07 07:30:11 UTC

[2/2] bigtop git commit: BIGTOP-1804. Not again: srpm target fails on SUSE

BIGTOP-1804. Not again: srpm target fails on SUSE


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/11f0f905
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/11f0f905
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/11f0f905

Branch: refs/heads/master
Commit: 11f0f905ccdadcbc6623b868dc3258cb6524f1dd
Parents: a2a05fc
Author: Konstantin Boudnik <co...@wandisco.com>
Authored: Mon Apr 6 18:05:27 2015 -0700
Committer: Konstantin Boudnik <co...@wandisco.com>
Committed: Mon Apr 6 18:05:51 2015 -0700

----------------------------------------------------------------------
 packages.gradle | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/11f0f905/packages.gradle
----------------------------------------------------------------------
diff --git a/packages.gradle b/packages.gradle
index e42b5e3..f7c5b03 100644
--- a/packages.gradle
+++ b/packages.gradle
@@ -450,6 +450,9 @@ def genTasks = { target, variable ->
     def final BASE_VERSION = BOM_map[variable + '_BASE_VERSION']
     def final PKG_OUTPUT_DIR = BOM_map[variable + '_OUTPUT_DIR']
     delete ("$PKG_BUILD_DIR/rpm")
+    ['INSTALL','SOURCES','BUILD','SRPMS','RPMS'].each { rpmdir ->
+      mkdir("$PKG_BUILD_DIR/rpm/$rpmdir")
+    }
     fileTree ("${BASE_DIR}/bigtop-packages/src/rpm/$NAME") {
       include '**/*'
     }.copy { into "$PKG_BUILD_DIR/rpm" }