Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL

From: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: PostgreSQL General Discussion Forum <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Date: 2013-12-06 10:33:32
Message-ID: CADp-Sm62u4GckeN7SACzE3PC5mstLzqmqKH2O0G_f5AQ5gCeTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Dec 6, 2013 at 6:30 PM, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>wrote:

> Sameer Kumar wrote:
> > I am trying to do a custom build (and generate binary and source RPM)
> package for PostgreSQL.
> >
> > I know community already has a RPM package, but I am trying to do a
> custom build.
> >
> > I am using attached SPEC file. But I am not able to get binary rpm.
> rpmbuild always gives me source
> > rpm only. Is there anything wrong with my spec file?
>
> It is incomplete.
>
> There should be a %prep, %build, %install and %files section at least.
>
>
I thought %files is non-mandatory.

> > Towards end of the process I get below messages:
> >
> >
> >
> > Checking for unpackaged file(s): /usr/lib/rpm/check-files
> > /root/rpmbuild/BUILDROOT/PostgreSQL-9.3-1.x86_64
> > Wrote: /root/rpmbuild/SRPMS/PostgreSQL-9.3-1.src.rpm
> > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m3q9Du
> > + umask 022
> > + cd /root/rpmbuild/BUILD
> > + /bin/rm -rf
> /root/rpmbuild/BUILDROOT/PostgreSQL-9.3-1.x86_64
> > + exit 0
> >
> >
> >
> > The file I am using is very basic (since I am just starting with the
> process). Does community maintain
> > an rpm SPEC file for PostgreSQL? Can I get access to it?
>
> Start looking here:
>
> http://yum.postgresql.org/srpms/9.3/redhat/rhel-6-x86_64/repoview/postgresql93.html
>
> The source RPMs contain the spec file.
>
>
Thanks! this will help

>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sameer Kumar 2013-12-06 10:35:50 Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Previous Message Michael Paquier 2013-12-06 10:32:27 Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL