$ git clone -n https://gitee.com/fe_zhang/perl-Socket.git /var/lib/mock/dist-an23-build-253262-63513/root/chroot_tmpdir/scmroot/perl-Socket Cloning into '/var/lib/mock/dist-an23-build-253262-63513/root/chroot_tmpdir/scmroot/perl-Socket'... $ git reset --hard a7d963abae11a0effcea3bc333bc364c26a8892d HEAD is now at a7d963a Optimize the spec file