Re: proposal: rpm package for plpgsql_check

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: proposal: rpm package for plpgsql_check
Date: 2014-08-25 18:43:46
Message-ID: CAFj8pRDXVjpYDAuuQmmVNFVDX7nRSk_DBNmudFwFC_saONt=yQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi

I prepared package for 9.3 - what I tested - for 9.2 and 9.4 it is
mechanical work - change in preambule

Regards

Pavel

2014-08-25 17:58 GMT+02:00 Devrim Gündüz <devrim(at)gunduz(dot)org>:

>
> Hi Pavel,
>
> Apart from what Craig wrote, can you please add %changelog entry?
>
> Regards, Devrim
>
> On Mon, 2014-08-25 at 16:22 +0800, Craig Ringer wrote:
> > On 08/25/2014 03:57 PM, Pavel Stehule wrote:
> > > Hi
> > >
> > > I prepared a spec file for plpgsql_check
> > >
> > > https://github.com/okbob/plpgsql_check/blob/master/plpgsql_check.spec
> > >
> > > please, can you integrate it?
> >
> > It doesn't look ready.
> >
> >
> > %global pgmajorversion 9
> >
> > should be
> >
> > %global pgmajorversion 94
> >
> > i.e. the full PostgreSQL major version in short form.
> >
> >
> > It should make sure to install the extension into the correct
> > /usr/pgsql-9.4/lib, /usr/pgsql-9.4/share/extension, etc, probably with
> > appropriate %files macros .
> >
> >
> > The %description should be about what the package does, not why it
> > exists. That material can go in a /usr/share/doc/%{name}/README.rpm-dist
> > if it's RPM-specific, or just in the regular README.
> >
> >
> > The package makes no attempt to set PATH or an explicit pg_config
> > location, so it might not build against the correct PostgreSQL if more
> > than one is installed.
> >
> >
> > Ideally the requires should be arch-qualified, e.g.
> >
> > BuildRequires: postgresql%{pgmajorversion}-devel%{_?isa}
> > Requires: postgresql%{pgmajorversion}%{_?isa}
> >
> >
> >
> > --
> > Craig Ringer http://www.2ndQuadrant.com/
> > PostgreSQL Development, 24x7 Support, Training & Services
> >
> >
>
>
> --
> Devrim GÜNDÜZ
> Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>
>

Attachment Content-Type Size
postgresql93-plpgsql_check.spec text/x-rpm-spec 1.3 KB
plpgsql_check93-0.9.1-1.el6.src.rpm application/x-rpm 39.4 KB

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2014-08-25 22:55:36 Re: org2org have lost PostgreSQL driver support
Previous Message Devrim Gündüz 2014-08-25 16:07:23 Re: RHEL5 postgresql94-contrib is broken, unsatisfied dependency on uuid-ossp