You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2014/09/30 01:37:18 UTC

git commit: BIGTOP-1472. Hadoop RPM build is broken after BIGTOP-1462

Repository: bigtop
Updated Branches:
  refs/heads/master ce535a3d0 -> 4df9e6973


BIGTOP-1472. Hadoop RPM build is broken after BIGTOP-1462


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

Branch: refs/heads/master
Commit: 4df9e69732321d8e4c4694e8db73aa5c84e08eb2
Parents: ce535a3
Author: Konstantin Boudnik <co...@apache.org>
Authored: Mon Sep 29 11:56:15 2014 -0700
Committer: Roman Shaposhnik <rv...@apache.org>
Committed: Mon Sep 29 16:35:19 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/bigtop/blob/4df9e697/packages.gradle
----------------------------------------------------------------------
diff --git a/packages.gradle b/packages.gradle
index 3191d9e..75f7d4c 100644
--- a/packages.gradle
+++ b/packages.gradle
@@ -398,6 +398,9 @@ def genTasks = { target, variable ->
   }
   task "${target}_vardefines" << {
     BOM_map[variable + '_NAME'] = target
+    if (!BOM_map[variable + '_PKG_NAME']) {
+      BOM_map[variable + '_PKG_NAME'] = BOM_map[variable + '_NAME']
+    }
     BOM_map[variable + '_PKG_RELEASE'] = '1'
 
     BOM_map[variable + '_BUILD_DIR'] = BOM_map['BUILD_DIR'] + "/$target"