Repository: incubator-hawq Updated Branches: refs/heads/master 2ec18bdf8 -> 6fc5aeecc
HAWQ-1067. Append hawq version number to plr-hawq rpm pakcage install location. Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/6fc5aeec Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/6fc5aeec Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/6fc5aeec Branch: refs/heads/master Commit: 6fc5aeecc13835d146277f782bff34a08fcf54c0 Parents: 2ec18bd Author: rlei <[email protected]> Authored: Wed Sep 28 16:03:00 2016 +0800 Committer: rlei <[email protected]> Committed: Wed Sep 28 16:03:16 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/6fc5aeec/src/pl/plr.spec ---------------------------------------------------------------------- diff --git a/src/pl/plr.spec b/src/pl/plr.spec index abac849..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 +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 +make -C %{plr_srcdir} install prefix=%{buildroot}/usr/local/hawq_%{hawq_version_str} %files -/usr/local/hawq/docs/contrib/README.plr -/usr/local/hawq/lib/postgresql/plr.so* -/usr/local/hawq/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
