pgfincore94 fails check-files on EL-7

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: pgfincore94 fails check-files on EL-7
Date: 2016-03-11 11:59:01
Message-ID: 1FFA39501BD8DD5B5CFC5E53@eje.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
0001-Fix-pgfincore-RPM-package-builds.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Bernd Helmle 2016-03-11 12:01:54 Re: systemd service files vs. postgresql9x-setup
Previous Message Devrim GÜNDÜZ 2016-03-06 22:30:43 Re: Barman 1.6.0 Released