$ git clone -n https://gitee.com/opencloudos-stream/spamassassin.git /var/lib/mock/dist-ocs23-build-145545-9782/root/chroot_tmpdir/scmroot/spamassassin Cloning into '/var/lib/mock/dist-ocs23-build-145545-9782/root/chroot_tmpdir/scmroot/spamassassin'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/spamassassin * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 003d0d0 !1 fix installation mistake in spec Merge pull request !1 from 冯玮耀/master