Fix configurator for spec files