update variable names in spec files