Re: Build RPM from Postgres Source

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
Thread:
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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-07-13 16:55:57 Re: Re: pg_upgrade could not create catalog dump while upgrading from 9.0 to 9.2
Previous Message Dmitriy Igrishin 2013-07-13 12:46:18 Re: [HACKERS] Frontend/backend protocol improvements proposal (request).