Re: Build RPM from Postgres Source

Lists: pgsql-general
From: "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Build RPM from Postgres Source
Date: 2013-07-13 14:59:55
Message-ID: 3e449fb50a6f25f34e8bdb94d788aaa8.squirrel@webmail.harte-lyne.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general


> Date: Fri, 12 Jul 2013 14:37:19 -0700 (PDT)
> From: ktewari1 <cute(dot)mee123(at)gmail(dot)com>
> To: pgsql-general(at)postgresql(dot)org
> Subject: Build RPM from Postgres Source
> Message-ID: <1373665039319-5763633(dot)post(at)n5(dot)nabble(dot)com>
>
> 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.
>
> I'll greatly appreciate any help.
>
> Thanks,
> Kul

You should take a look at mock,
http://fedoraproject.org/wiki/Projects/Mock. I wrote up a short intro
to this a little while ago. You can read it here:
http://byrnejb.wordpress.com/2013/01/30/building-ruby-1-9-3-for-centos-6-3/

Although the example is not postgresql the process remains much the
same on any RHEL derived distro regardless of the package.

Good luck.

--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB(at)Harte-Lyne(dot)ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3


From: ktewari1 <cute(dot)mee123(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Build RPM from Postgres Source
Date: 2013-07-15 02:54:35
Message-ID: 1373856875977-5763746.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Thanks for your reply. I will take a look.

Kul.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Build-RPM-from-Postgres-Source-tp5763633p5763746.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.