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:
Florian La Roche