rpm: use ".el7" instead of "%{dist}"

Because "{%dist}" is ".el7.centos". ".centos" is needless.