Repository: bigtop Updated Branches: refs/heads/master 42a0f7c97 -> 8190e32c6
BIGTOP-1859 Unable to build Hue packages on Amazon Linux Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/8190e32c Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/8190e32c Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/8190e32c Branch: refs/heads/master Commit: 8190e32c6fd4fbc1e16785244837dd6e9147317c Parents: 42a0f7c Author: Andrew Purtell <[email protected]> Authored: Thu Apr 30 15:50:51 2015 -0700 Committer: Andrew Purtell <[email protected]> Committed: Thu Apr 30 15:50:51 2015 -0700 ---------------------------------------------------------------------- bigtop-packages/src/common/hue/install_hue.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/8190e32c/bigtop-packages/src/common/hue/install_hue.sh ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/hue/install_hue.sh b/bigtop-packages/src/common/hue/install_hue.sh index 045f6b9..a21b133 100644 --- a/bigtop-packages/src/common/hue/install_hue.sh +++ b/bigtop-packages/src/common/hue/install_hue.sh @@ -116,7 +116,8 @@ ln -fs $LIB_DIR/desktop/libs/hadoop/java-lib/*plugin*jar $PREFIX/$HADOOP_DIR (cd $PREFIX/$LIB_DIR ; bash tools/relocatable.sh) # remove RECORD files since it contains "real" paths confusing rpmbuild -(cd $PREFIX/$LIB_DIR ; rm build/env/lib/python*/site-packages/*.dist-info/RECORD) +(cd $PREFIX/$LIB_DIR ; rm -f build/env/lib/python*/site-packages/*.dist-info/RECORD) +(cd $PREFIX/$LIB_DIR ; rm -f build/env/lib/python*/dist-packages/*.dist-info/RECORD) # Remove Hue database and then recreate it, but with just the "right" apps rm -f $PREFIX/$LIB_DIR/desktop/desktop.db $PREFIX/$LIB_DIR/app.reg
