Re: pgfincore94 fails check-files on EL-7 - Mailing list pgsql-pkg-yum

From Devrim GÜNDÜZ
Subject Re: pgfincore94 fails check-files on EL-7
Date
Msg-id 1458043356.28149.13.camel@gunduz.org
Whole thread Raw
In response to pgfincore94 fails check-files on EL-7  (Bernd Helmle <mailings@oopsware.de>)
Responses Re: pgfincore94 fails check-files on EL-7  (Bernd Helmle <mailings@oopsware.de>)
List pgsql-pkg-yum
Hi Bernd,

Can you please update to the 9.4.6 before building this package?

I bite the bullet, and specified --docdir and --htmldir parameters also to the
9.2, 9.3 and 9.4 PostgreSQL RPMs in the latest updates, and built all the 3rd
party stuff with new layout. Otherwise, we would have to maintain 3rd party
stuff in a more expensive way. 

Maybe I should have added dependency to => 9.4.6 in all spec files :-(

Regards, Devrim

On Fri, 2016-03-11 at 12:59 +0100, Bernd Helmle wrote:
> Today i saw this when building the pgfincore94 RPM package for EL-7 (sorry
> for the german error message):
>
> Prüfe auf nicht gepackte Datei(en): /usr/lib/rpm/check-files
> /home/credativ/rpm/BUILDROOT/pgfincore94-1.1.2-1.rhel7.ppc64
> Fehler: Installierte (aber nicht gepackte) Datei(en) gefunden:
>    /usr/pgsql-9.4/doc/pgfincore/README.rst
>
>
> Fehler beim Bauen des RPM:
>     Installierte (aber nicht gepackte) Datei(en) gefunden:
>    /usr/pgsql-9.4/doc/pgfincore/README.rst
> make: *** [nopreprpm] Fehler 1
>
> It fails the check-files check, since pgfincore installs its README.rst
> file in %{buildroot}/usr/pgsql-9.4/doc/pgfincore.
>
> The following patch fixes that, however, i'm not sure why we install the
> README.rst explicitly in /usr/pgsql-9.4 given that we have a %doc directive
> already in the SPEC file? 
>

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR



Attachment

pgsql-pkg-yum by date:

Previous
From: Strahinja Kustudić
Date:
Subject: Postgres 9.4 and 9.5 on CentOS on same machine unix socket incompatibility
Next
From: Bernd Helmle
Date:
Subject: Re: pgfincore94 fails check-files on EL-7