Some changes that enabled an rpm to be generated inside centos docker