$ git clone -n https://gitee.com/src-anolis-os/perl-DBD-MariaDB.git /mnt/mock/kojid//dist-an23.3-riscv-build-438238-73130/root/chroot_tmpdir/scmroot/perl-DBD-MariaDB Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438238-73130/root/chroot_tmpdir/scmroot/perl-DBD-MariaDB'... $ git fetch origin ce2c181d02265f0b66b83f32e667cf367303eee6:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/perl-DBD-MariaDB * [new ref] ce2c181d02265f0b66b83f32e667cf367303eee6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ce2c181 Optimize the spec file