Description of problem: A simple rpm -qpl *.rpm shows 30 empty debuginfo packages in the latest RHEL nightly build. Can you add a simple check to distill that will identify the empty debuginfo packages. It can also check binary and source rpms as well. The list will be passed on to QA to identify incorrectly built packages.
FYI: there's the same request for rpmdiff, see bug #249746 but some packages may never be on the approved list (or update every few years) and the problems may go unnoticed for quite long time.
Sanity check added.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1400.html