change metadata to make it support centos and redhat