$ git clone -n https://gitee.com/zubinshuo/speex.git /var/lib/mock/dist-an8.6-build-94410-45467/root/chroot_tmpdir/scmroot/speex Cloning into '/var/lib/mock/dist-an8.6-build-94410-45467/root/chroot_tmpdir/scmroot/speex'... $ git reset --hard cc74d8e622ae6bdadde65824cd3f79f9f4ec8a22 HEAD is now at cc74d8e import speex-1.2.0-1.el8.src.rpm