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

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
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:32:27
Message-ID: CAB7nPqQvQgKD47=MSO3CMQyjR7Mi3S25mC5M8Cn5eQwdOqvjJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

That

On Fri, Dec 6, 2013 at 7:08 PM, Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>wrote:

> Hi,
>
> 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?
>
After a quick glance at your spec, I am not seing any %files section.

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?
>
Yes, here:
http://svn.pgrpms.org/repo/rpm/redhat/

Can I get access to it?
>
Use for example this command to create a git repository of that:
git svn clone http://svn.pgrpms.org/repo/rpm/redhat
Or a simple svn command...

If I were you, I'd simply take the community spec and modify it for my
needs, it is already really complete and contains automatic management of
for example translation files, smth that is always a pain to maintain
manually.

Regards,
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sameer Kumar 2013-12-06 10:33:32 Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Previous Message Devrim GÜNDÜZ 2013-12-06 10:32:24 Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL