Apex: fixes building rpms for patches