use only major version for centos/redhat releases, update #2099