$ git clone -n https://src.fedoraproject.org/rpms/realtime-tests.git /var/lib/mock/f33-build-623524-67564/root/chroot_tmpdir/scmroot/realtime-tests Cloning into '/var/lib/mock/f33-build-623524-67564/root/chroot_tmpdir/scmroot/realtime-tests'... $ git reset --hard a240ad0dc7d47fec67c6780dc67070ff27fbd327 HEAD is now at a240ad0 Use the %pycached macro as described in the packaging-guidlines for Python