Linux – rpmbuild Installed (but unpackaged) files source

linuxpackagingredhatrpmrpmbuild

I'm trying to build an RPM from binaries on a REDHAT 6 system. I have all the files included in the %files section (find /path/to/fake/install -type f >> specfile)

When I run rpmbuild -bb specfile –target x86_64 I get

Checking for unpackaged file(s): /usr/lib/rpm/check-files /path/to/rpmbuild/BUILDROOT/Package-1.0.0-1.el6.x86_64
error: Installed (but unpackaged) file(s) found:

RPM build errors:
Installed (but unpackaged) file(s) found:

Note that no files are listed in the error message. I'm not sure what's wrong, and ideas?

Best Answer

You can ignore this kind of errors by

%define _unpackaged_files_terminate_build 0

See also http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s05s07.html