You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by rl...@apache.org on 2016/11/01 02:19:31 UTC
incubator-hawq git commit: HAWQ-1129. Install PLR into hawq home
directory
Repository: incubator-hawq
Updated Branches:
refs/heads/master 7e11e66a6 -> 58a9cdc6b
HAWQ-1129. Install PLR into hawq home directory
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/58a9cdc6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/58a9cdc6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/58a9cdc6
Branch: refs/heads/master
Commit: 58a9cdc6bcc88de40c97f1615414c85fc0a62b9e
Parents: 7e11e66
Author: rlei <rl...@pivotal.io>
Authored: Mon Oct 31 15:36:04 2016 +0800
Committer: rlei <rl...@pivotal.io>
Committed: Tue Nov 1 10:18:28 2016 +0800
----------------------------------------------------------------------
src/pl/plr.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/58a9cdc6/src/pl/plr.spec
----------------------------------------------------------------------
diff --git a/src/pl/plr.spec b/src/pl/plr.spec
index 86c788f..0f47322 100644
--- a/src/pl/plr.spec
+++ b/src/pl/plr.spec
@@ -2,7 +2,7 @@ Summary: PL/R module for HAWQ
Name: plr-hawq_%{hawq_version_str}
Version: 08.03.00.14.%{hawq_version}
Release: %{hawq_build_number}.el%{redhat_major_version}
-Prefix: /usr/local/hawq_%{hawq_version_str}-%{hawq_version}
+Prefix: /usr/local/hawq_%{hawq_version_str}
License: GPL
BuildRequires: R-core-devel
Requires: R
@@ -22,9 +22,9 @@ The PL/R modules provides Procedural language implementation of R for HAWQ.
# 2. We build using the "configured" prefix at first and then install it using
# the new prefix.
make -C %{plr_srcdir}
-make -C %{plr_srcdir} install prefix=%{buildroot}/usr/local/hawq_%{hawq_version_str}-%{hawq_version}
+make -C %{plr_srcdir} install prefix=%{buildroot}/usr/local/hawq_%{hawq_version_str}
%files
-/usr/local/hawq_%{hawq_version_str}-%{hawq_version}/docs/contrib/README.plr
-/usr/local/hawq_%{hawq_version_str}-%{hawq_version}/lib/postgresql/plr.so*
-/usr/local/hawq_%{hawq_version_str}-%{hawq_version}/share/postgresql/contrib/plr.sql
+/usr/local/hawq_%{hawq_version_str}/docs/contrib/README.plr
+/usr/local/hawq_%{hawq_version_str}/lib/postgresql/plr.so*
+/usr/local/hawq_%{hawq_version_str}/share/postgresql/contrib/plr.sql