> Date: Fri, 12 Jul 2013 14:37:19 -0700 (PDT) > From: ktewari1 <cute.mee123@xxxxxxxxx> > To: pgsql-general@xxxxxxxxxxxxxx > Subject: Build RPM from Postgres Source > Message-ID: <1373665039319-5763633.post@xxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxx 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general