building a generic rpm for minc