Alex Rivera | Logout

rpmbuild Installed (but unpackaged) files source

Asked 2012-11-15T16:20:01.913
22

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, any ideas?

Edit
Report

1 Answer

27

You can ignore these kind of errors by using

%define _unpackaged_files_terminate_build 0

See also

answered 2013-01-25T02:47:12.437

Your Answer