If you encounter an error like:
extracting debug info from /home/leo/rpmbuild/BUILDROOT/processing-1-5.1.x86_64o *** ERROR: No build ID note found in /home/leo/rpmbuild/BUILDROOT/processing-1-o error: Bad exit status from /var/tmp/rpm-tmp.WmvEiC (%install)
Add the following to your .spec file:
%define debug_package %{nil}