Repository: incubator-hawq Updated Branches: refs/heads/master 6fc5aeecc -> efd02a4e8
HAWQ-1067. Fix plr-hawq default install path to match HAWQ's default. Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/efd02a4e Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/efd02a4e Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/efd02a4e Branch: refs/heads/master Commit: efd02a4e82b9550e4641e6c090d1a50d9c38a462 Parents: 6fc5aee Author: rlei <[email protected]> Authored: Wed Sep 28 17:04:07 2016 +0800 Committer: rlei <[email protected]> Committed: Wed Sep 28 17:04:20 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/efd02a4e/src/pl/plr.spec ---------------------------------------------------------------------- diff --git a/src/pl/plr.spec b/src/pl/plr.spec index 0f47322..86c788f 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} +Prefix: /usr/local/hawq_%{hawq_version_str}-%{hawq_version} 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} +make -C %{plr_srcdir} install prefix=%{buildroot}/usr/local/hawq_%{hawq_version_str}-%{hawq_version} %files -/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 +/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
