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

From Bernd Helmle
Subject pgfincore94 fails check-files on EL-7
Date
Msg-id 1FFA39501BD8DD5B5CFC5E53@eje.credativ.lan
Whole thread Raw
Responses Re: pgfincore94 fails check-files on EL-7
List pgsql-pkg-yum
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?

--
Thanks

    Bernd

Attachment

pgsql-pkg-yum by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: Barman 1.6.0 Released
Next
From: Bernd Helmle
Date:
Subject: Re: systemd service files vs. postgresql9x-setup