$ git clone -n https://src.fedoraproject.org/rpms/xine-ui.git /var/lib/mock/f41-build-827401-155283/root/chroot_tmpdir/scmroot/xine-ui Cloning into '/var/lib/mock/f41-build-827401-155283/root/chroot_tmpdir/scmroot/xine-ui'... $ git fetch origin 94bfd47b484646d19d8d6d10838d2857e804e81d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xine-ui * [new ref] 94bfd47b484646d19d8d6d10838d2857e804e81d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 94bfd47 Fix build with rpm >= 4.20 (RHBZ#2301375)