Recent versions of mock have added TMPDIR environment, but this seems to break e.g. the eclipse rebuild for RHEL5. I think keeping mock more compatibel with older rpm package builds should be a high priority.
I've filed the following bugzilla for this: https://bugzilla.redhat.com/show_bug.cgi?id=769728
best regards,
Florian La Roche