made changes to work with rpm repos