diff -ur mock-0.4.yumcache/mock.py mock-0.4.ccache/mock.py
--- mock-0.4.yumcache/mock.py	2006-05-20 23:06:02.000000000 -0500
+++ mock-0.4.ccache/mock.py	2006-05-20 23:12:11.000000000 -0500
@@ -183,6 +183,8 @@
             self._umount('dev/pts')
         if os.path.exists('%s/%s' % (self.rootdir, 'var/cache/yum')):
             self._umount('var/cache/yum')
+        if os.path.exists('%s/%s' % (self.rootdir, 'var/cache/ccache')):
+             self._umount('var/cache/ccache')
             
         if os.path.exists(self.basedir):
             cmd = '%s -rfv %s' % (self.config['rm'], self.basedir)
@@ -450,12 +452,25 @@
         track.write('var/cache/yum\n')
         (retval, output) = self.do(command)
         track.flush()
-        track.close()
 
         if retval != 0:
             if output.find('already mounted') == -1: # probably won't work in other LOCALES
                 raise RootError, "could not mount /var/cache/yum error was: %s" % output
 
+        # ccache
+        ccachedir = os.path.join(self.rootdir, 'var/cache/ccache')
+        self._ensure_dir(ccachedir)
+        self.debug("mounting ccache in %s" % ccachedir)
+        command = '%s --bind /var/lib/mock/ccache %s' % (self.config['mount'], ccachedir)
+        track.write('var/cache/ccache\n')
+        (retval, output) = self.do(command)
+        track.flush()
+        track.close()
+
+        if retval != 0:
+            if output.find('already mounted') == -1: # probably won't work in other LOCALES
+                raise RootError, "could not mount /var/cache/ccache error was: %s" % output
+
     def _umount(self, path):
     
         item = '%s/%s' % (self.rootdir, path)
