diff options
| -rw-r--r-- | Library/Formula/apache-spark.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/hive.rb | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/apache-spark.rb b/Library/Formula/apache-spark.rb index ed7d7affe..b79385bef 100644 --- a/Library/Formula/apache-spark.rb +++ b/Library/Formula/apache-spark.rb @@ -7,6 +7,8 @@ class ApacheSpark < Formula version "1.1.1" sha1 "d1ef3edfe9174010c66ed39fbbc961b7db765a35" + conflicts_with 'hive', :because => 'both install `beeline` binaries' + def install rm_f Dir["bin/*.cmd"] libexec.install Dir["*"] diff --git a/Library/Formula/hive.rb b/Library/Formula/hive.rb index f67599d29..53e80033c 100644 --- a/Library/Formula/hive.rb +++ b/Library/Formula/hive.rb @@ -2,10 +2,11 @@ require 'formula' class Hive < Formula homepage 'http://hive.apache.org' - url 'http://www.apache.org/dyn/closer.cgi?path=hive/hive-0.13.1/apache-hive-0.13.1-bin.tar.gz' - sha1 'f9d96e3942ce93a409379f86632e80dd0a75848c' + url 'http://www.apache.org/dyn/closer.cgi?path=hive/hive-0.14.0/apache-hive-0.14.0-bin.tar.gz' + sha1 '8268ca84870f10f1ab163b87c2c7e6b0bbd39744' depends_on 'hadoop' + conflicts_with 'apache-spark', :because => 'both install `beeline` binaries' def install rm_f Dir["bin/*.bat"] |
