$ git clone -n https://gitee.com/yummypeng/rdma-core.git /var/lib/mock/dist-an23-build-249633-63346/root/chroot_tmpdir/scmroot/rdma-core Cloning into '/var/lib/mock/dist-an23-build-249633-63346/root/chroot_tmpdir/scmroot/rdma-core'... $ git reset --hard 420a70cd8891c850c670b6c76155d9008bcb1295 HEAD is now at 420a70c Refactor the specfile