rpmbuild error

I hit upon bug 85346:
in RHAS2.1, if you’re packaging a bunch of files that don’t
have an owner known to the OS, you will get

getUname: too many uid's

The simple solution was to add a

chmod -R root:root $RPM_BUILD_ROOT

to the %install section.