$ git clone -n https://gitee.com/fe_zhang/mysql-selinux.git /var/lib/mock/dist-an23-build-251313-63414/root/chroot_tmpdir/scmroot/mysql-selinux Cloning into '/var/lib/mock/dist-an23-build-251313-63414/root/chroot_tmpdir/scmroot/mysql-selinux'... $ git reset --hard eac4fcd2cd8dc3a2110a98292b3929d2e3e4df30 HEAD is now at eac4fcd Optimize the spec file