$ git clone -n https://src.fedoraproject.org/rpms/python-cyipopt.git /var/lib/mock/f40-build-755945-118380/root/chroot_tmpdir/scmroot/python-cyipopt Cloning into '/var/lib/mock/f40-build-755945-118380/root/chroot_tmpdir/scmroot/python-cyipopt'... $ git reset --hard 2ec83e5ea7f96d4f8b6ab9ab5e0f815f6215c651 HEAD is now at 2ec83e5 Actually switch the source tarball to the PyPI sdist