$ git clone -n https://gitee.com/dian-ws/perl-libnet.git /var/lib/mock/dist-an23-build-254791-63594/root/chroot_tmpdir/scmroot/perl-libnet Cloning into '/var/lib/mock/dist-an23-build-254791-63594/root/chroot_tmpdir/scmroot/perl-libnet'... $ git reset --hard b7cf0464e779a31ffaf3cce900db19ade1ae1116 HEAD is now at b7cf046 Optimize the spec file