$ git clone -n https://src.fedoraproject.org/rpms/intel-media-driver-free.git /var/lib/mock/f40-build-792520-138442/root/chroot_tmpdir/scmroot/intel-media-driver-free Cloning into '/var/lib/mock/f40-build-792520-138442/root/chroot_tmpdir/scmroot/intel-media-driver-free'... $ git fetch origin f1df44daa7efaca7674a09df5772b11eeea28749:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/intel-media-driver-free * [new ref] f1df44daa7efaca7674a09df5772b11eeea28749 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f1df44d Rename metainfo to match package name