$ git clone -n https://src.fedoraproject.org/rpms/xkeycaps.git /var/lib/mock/f41-build-859173-168584/root/chroot_tmpdir/scmroot/xkeycaps Cloning into '/var/lib/mock/f41-build-859173-168584/root/chroot_tmpdir/scmroot/xkeycaps'... $ git reset --hard 522599ce43bd477261a1190b46e93a6b0f15a3c6 HEAD is now at 522599c fix cast issues causing FTBFS