$ git clone -n https://git.cclinux.org/stage/rpms/python-ptyprocess.git /var/lib/mock/dist-circle8-build-15153-3062/root/chroot_tmpdir/scmroot/python-ptyprocess Cloning into '/var/lib/mock/dist-circle8-build-15153-3062/root/chroot_tmpdir/scmroot/python-ptyprocess'... $ git reset --hard 2c4803e5f66f846edfbdb9f451b4e29762cc5fc6 HEAD is now at 2c4803e import python-ptyprocess-0.5.2-4.el8