[rpm] Allow building RPMs without a debian/ directory (closes #223076) [applied]