When creating an RPM of some package this error might occur. Sometimes it does not make much sense as it lists only debug files as unpackaged.
In this case, it is most likely caused by invalid use of %exclude macro. Grr. I spent a bunch of time debugging this. HTH somebody.