Hi,

I am trying to build the coreutils binary RPM from the CentOS 5.0 source RPM using:

sudo rpmbuild --rebuild coreutils-5.97-12.1.el5.src.rpm

However, it is erroring out with the following:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/coreutils-root
error: Installed (but unpackaged) file(s) found:
   /usr/share/locale/af/LC_TIME/coreutils.mo
  ...
   /usr/share/locale/zh_TW/LC_TIME/coreutils.mo

These are symbolic links to ../LC_MESSAGES/coreutils.mo which are not picked up by the %find_lang macro in the spec because the /usr/lib/rpm/find- lang.sh script uses '-type f' on its find.

Any idea what may be wrong?

By the way, here are the versions of some of the related rpms:
rpm-4.4.2-37.el5
glibc-2.5-12
findutils-4.2.27-4.1

Thanks for any help,
Rob