Re: Build RPM from Postgres Source

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: ktewari1 <cute(dot)mee123(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Build RPM from Postgres Source
Date: 2013-07-17 12:28:58
Message-ID: 1374064138.4669.3.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Muhammad Bashir Al-Noimi 2013-07-17 13:21:55 Re: Upgrading from Pg 9.1 to 9.2
Previous Message Vincenzo Romano 2013-07-17 12:12:24 Re: transactional swap of tables