porting from EPEL SRPM