added check for scala rpm