$ git clone -n https://gitee.com/src-anolis-os/libdatrie.git /var/lib/mock/dist-an23-build-251901-63450/root/chroot_tmpdir/scmroot/libdatrie Cloning into '/var/lib/mock/dist-an23-build-251901-63450/root/chroot_tmpdir/scmroot/libdatrie'... $ git reset --hard origin/a23 HEAD is now at 917a57b fix missing BuildRequires:libtool