Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 56321200B2D for ; Thu, 16 Jun 2016 11:49:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 55007160A52; Thu, 16 Jun 2016 09:49:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9AFD7160A51 for ; Thu, 16 Jun 2016 11:49:52 +0200 (CEST) Received: (qmail 91841 invoked by uid 500); 16 Jun 2016 09:49:51 -0000 Mailing-List: contact commits-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list commits@hawq.incubator.apache.org Received: (qmail 91832 invoked by uid 99); 16 Jun 2016 09:49:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2016 09:49:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6AECEC0D9E for ; Thu, 16 Jun 2016 09:49:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id VqtOE69gaSeo for ; Thu, 16 Jun 2016 09:49:50 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id E77425F1B3 for ; Thu, 16 Jun 2016 09:49:49 +0000 (UTC) Received: (qmail 91822 invoked by uid 99); 16 Jun 2016 09:49:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2016 09:49:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1CAFEDFDEF; Thu, 16 Jun 2016 09:49:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rlei@apache.org To: commits@hawq.incubator.apache.org Message-Id: <33e4b06b709040a6a4cff0cfa622b9db@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-hawq git commit: HAWQ-826. Compile plr and install plr with different prefix when building a plr rpm Date: Thu, 16 Jun 2016 09:49:49 +0000 (UTC) archived-at: Thu, 16 Jun 2016 09:49:53 -0000 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 Authored: Thu Jun 16 17:32:42 2016 +0800 Committer: Paul Guo 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