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

From: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
To: PostgreSQL General Discussion Forum <pgsql-general(at)postgresql(dot)org>
Subject: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Date: 2013-12-06 10:08:14
Message-ID: CADp-Sm4Ch=0jnuaWMeQ1BtGRGZSv5ndnnTQiOBtv7AC979f3ug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

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?

Best Regards,
*Sameer Kumar | Database Consultant*

*ASHNIK PTE. LTD.*101 Cecil Street, #11-11 Tong Eng Building, Singapore
069533
M : *+65 8110 0350 <%2B65%208110%200350>* T: +65 6438 3504 | www.ashnik.com
www.facebook.com/ashnikbiz | www.twitter.com/ashnikbiz

[image: email patch]

This email may contain confidential, privileged or copyright material and
is solely for the use of the intended recipient(s).

Attachment Content-Type Size
postgresql.spec application/octet-stream 599 bytes

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2013-12-06 10:30:10 Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Previous Message Frank Miles 2013-12-05 23:35:27 Re: cannot delete some records [9.3]