$ git clone -n https://gitee.com/yan1hcdc/pesign.git /var/lib/mock/dist-an23-build-481145-74252/root/chroot_tmpdir/scmroot/pesign Cloning into '/var/lib/mock/dist-an23-build-481145-74252/root/chroot_tmpdir/scmroot/pesign'... $ git fetch origin 37bbf3255cbd4c0865f7327f840f3ff326e71bed:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/pesign * [new ref] 37bbf3255cbd4c0865f7327f840f3ff326e71bed -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 37bbf32 fix condition for the CFLAGS