[rpm] Fix build with mock 1.1.33 (closes #223279) [applied]