Enable building debug RPMs.

Fixes #6262