Remove EPEL5-specific provisions and use macros