Only keep major version for debian.