$ git clone -n https://gitee.com/src-anolis-os/perl-common-sense.git /mnt/mock/kojid//dist-an23.3-riscv-build-438214-73130/root/chroot_tmpdir/scmroot/perl-common-sense Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438214-73130/root/chroot_tmpdir/scmroot/perl-common-sense'... $ git fetch origin 286c7e3db64f52ae0408fc90307b8edfbc16e226:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/perl-common-sense * [new ref] 286c7e3db64f52ae0408fc90307b8edfbc16e226 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 286c7e3 Macro %rpmversion is a built-in since rpm >= 4.18.2