only use the first number of the distro for centos