$ git clone -n https://gitee.com/src-anolis-os/slf4j.git /var/lib/mock/dist-an23.3-build-429351-73027/root/chroot_tmpdir/scmroot/slf4j Cloning into '/var/lib/mock/dist-an23.3-build-429351-73027/root/chroot_tmpdir/scmroot/slf4j'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/slf4j * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cc94a6c remove BuildRequires openjdk8 and update jdk to 1.8