$ git clone -n https://src.fedoraproject.org/rpms/switchboard-plug-keyboard.git /var/lib/mock/f31-build-74427-31122/root/chroot_tmpdir/scmroot/switchboard-plug-keyboard Cloning into '/var/lib/mock/f31-build-74427-31122/root/chroot_tmpdir/scmroot/switchboard-plug-keyboard'... $ git reset --hard 292ef2b608852f7e1211bf56e024077c133e7b71 HEAD is now at 292ef2b add upstream patch to fix FTBFS with vala 0.45+