Try to cleanup the spec file for generating