$ git clone -n https://gitee.com/geliwei/libsndfile.git /var/lib/mock/dist-an23-build-558592-90215/root/chroot_tmpdir/scmroot/libsndfile Cloning into '/var/lib/mock/dist-an23-build-558592-90215/root/chroot_tmpdir/scmroot/libsndfile'... $ git fetch origin f593ccbf154b954871be5fa13c8245fbe2ceaefc:KOJI_FETCH_HEAD From https://gitee.com/geliwei/libsndfile * [new ref] f593ccbf154b954871be5fa13c8245fbe2ceaefc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f593ccb [CVE] [Anolis] use %patch -P3 style consistent with existing patches