update the centos packaging script to handle snapshot versions