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