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

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17C71CB9@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL  (Sameer Kumar <sameer.kumar@ashnik.com>)
Ответы Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Список pgsql-general
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.

> 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.

Yours,
Laurenz Albe

В списке pgsql-general по дате отправления:

Предыдущее
От: Sameer Kumar
Дата:
Сообщение: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: [HACKERS] [pgrpm-HACKERS]SPEC file for PostgreSQL