Error at install time related to i18n

Hello,

I have updated the kgraphviewer package with its last version. Contrarily to the previous version, it contains i18n and docs. It compiles and installs well on my machine but fails on OBS with errors like that (for the openSUSE_11.2 package):


Checking for unpackaged file(s): /usr/lib/rpm/check-files /usr/src/packages/BUILDROOT/kgraphviewer-2.1-14.1.i386
 error: Installed (but unpackaged) file(s) found:
    /usr/share/doc/kde/HTML/de/kgraphviewer/common
    /usr/share/doc/kde/HTML/de/kgraphviewer/index.cache.bz2
    /usr/share/doc/kde/HTML/de/kgraphviewer/index.docbook
    /usr/share/doc/kde/HTML/en/kgraphviewer/common
    /usr/share/doc/kde/HTML/en/kgraphviewer/index.cache.bz2
 ...

I suppose there is things to do in the spec file to take i18n into account but I cannot find what. Any idea ?

Gaƫl

All files in the rpm have to be listed in the %files section.

The ones you forgot give you this error.