fix spec file for CentOS 6/7 support