Re: Docs build-depends missing from PostgreSQL spec file

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Jozef Mlich <jmlich(at)redhat(dot)com>
Cc: pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: Docs build-depends missing from PostgreSQL spec file
Date: 2015-04-14 12:40:58
Message-ID: CAMsr+YGT5vPdZK48Mg=LPjtT0tfsgGy_AEK=hSua_StY=joeOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On 13 April 2015 at 15:40, Jozef Mlich <jmlich(at)redhat(dot)com> wrote:

> On Thu, 2015-04-09 at 13:36 +0800, Craig Ringer wrote:
>
>
> > During some unrelated testing I noticed that the build-deps for the
> > docs are missing from the PostgreSQL spec files.
> >
> >
> > The following entries should be added to ensure that the docs can be
> > built reliably:
> >
> >
> > BuildRequires: openjade
> >
> > BuildRequires: opensp
> > BuildRequires: docbook-dtds
> > BuildRequires: docbook-style-dsssl
> > BuildRequires: libxslt
>
> Dear Craig,
>
> We are using ./generate-pdf.sh instead of spec file.
>

These BuildRequires are necessary for the man pages and HTML docs, not just
the PDF.

They should be present, at least if the doc subpackage is enabled. There's
nothing wrong with putting them inside a conditional section that only gets
evaluated if the docs are being built, of course.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Mark Wong 2015-04-20 22:11:49 adding a new platform
Previous Message Anton Akulov 2015-04-13 14:47:08 Re: postgresql94* packages from pgdg-redhat94-9.4-1.noarch.rpm are broken on Amazon Linux AMI 2015.03