I've searched the forums and website for the build scripts for CentOS, but can't find them, there was an unhelpful mailinglist entry that said "yum install mock" without any exp... [by sej7278]
When building packages in mock lately I see this a lot:
error: Macro %py2_install has unterminated body
Only started within last month, as far as I can tell the build actually
finishes just fine.
CentOS mailing list