Re: Build RPM from Postgres Source

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: ktewari1 <cute(dot)mee123(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Build RPM from Postgres Source
Date: 2013-07-17 14:08:05
Message-ID: CAB7nPqS2-15PY0xyeAVW-mo7i04KfHuacwEBrEijrZbtZOL8TQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jul 17, 2013 at 9:28 PM, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> wrote:
>
> Hi,
>
> On Fri, 2013-07-12 at 14:37 -0700, ktewari1 wrote:
>> Hi,
>> I need to have some different settings(like NAMEDATALEN etc.) and
>> that's why I'm trying to build postgres from the source and to create an rpm
>> to be send for install.
>>
>> Now, the build works fine but, I don't see a way to create an RPM.
>
> Here is how we build the community RPMs:
>
> * Fetch patches and spec files from SVN. For example:
>
> http://svn.pgrpms.org/browser/rpm/redhat/9.2/postgresql/EL-6/
>
> * Add any patches to spec file:
>
> http://svn.pgrpms.org/browser/rpm/redhat/9.2/postgresql/EL-6/postgresql-9.2.spec#L89
>
> * Build the RPM.
>
> You can add your own patches, and build your own RPMs like this.
Here is also a post written by Devrim describing how to do that more in details:
http://people.planetpostgresql.org/devrim/index.php?/archives/44-How-To-Build-Your-Own-PostgreSQL-and-related-software-RPMs-on-CentOSRHELFedora.html
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vincenzo Romano 2013-07-17 14:10:51 Re: pgAdmin for ubuntu
Previous Message Muhammad Bashir Al-Noimi 2013-07-17 14:02:28 Re: pgAdmin for ubuntu