$ git clone -n https://gitee.com/renping000/xkbcomp.git /var/lib/mock/dist-an8.6-build-137831-51186/root/chroot_tmpdir/scmroot/xkbcomp Cloning into '/var/lib/mock/dist-an8.6-build-137831-51186/root/chroot_tmpdir/scmroot/xkbcomp'... $ git reset --hard 1bfcb01b38037098af1dd202b27cc960cf2b8195 HEAD is now at 1bfcb01 include %{abidir} to avoid uninstall residual