$ git clone -n https://src.fedoraproject.org/rpms/python-cffsubr.git /var/lib/mock/f40-build-2213524-52336/root/chroot_tmpdir/scmroot/python-cffsubr Cloning into '/var/lib/mock/f40-build-2213524-52336/root/chroot_tmpdir/scmroot/python-cffsubr'... $ git fetch origin 3b698e8e9326901d7dfaf210d2661d736c14084f:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-cffsubr * [new ref] 3b698e8e9326901d7dfaf210d2661d736c14084f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3b698e8 Simplify the spec file by reducing macro indirection