$ git clone -n https://gitee.com/zhangwenlong01/enchant2.git /var/lib/mock/dist-an23-build-322379-68266/root/chroot_tmpdir/scmroot/enchant2 Cloning into '/var/lib/mock/dist-an23-build-322379-68266/root/chroot_tmpdir/scmroot/enchant2'... $ git reset --hard cd502ae7e8e4ecb480e2c13c4215b1efaf3660f0 HEAD is now at cd502ae fix command groff can not found when build