Repository: incubator-hawq Updated Branches: refs/heads/master 1aa4a17b2 -> 54d90913a
HAWQ-826. Compile plr and install plr with different prefix when building a plr rpm Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/54d90913 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/54d90913 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/54d90913 Branch: refs/heads/master Commit: 54d90913a84552b4dfd2aed79d5242f4f9c12a3c Parents: 1aa4a17 Author: Paul Guo <[email protected]> Authored: Thu Jun 16 17:32:42 2016 +0800 Committer: Paul Guo <[email protected]> Committed: Thu Jun 16 17:45:17 2016 +0800 ---------------------------------------------------------------------- src/pl/plr.spec | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/54d90913/src/pl/plr.spec ---------------------------------------------------------------------- diff --git a/src/pl/plr.spec b/src/pl/plr.spec index eb08778..5456dd3 100644 --- a/src/pl/plr.spec +++ b/src/pl/plr.spec @@ -9,6 +9,12 @@ License: GPL The PL/R modules provides Procedural language implementation of R for HAWQ. %install +# Note: +# 1. We do not use DESTDIR to specify the installation path since the binaries will be +# installed in $DESTDIR/$prefix instead of $DESTDIR. +# 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 %files
