$ git clone -n https://src.fedoraproject.org/rpms/plasma-workspace.git /var/lib/mock/f40-build-769568-125706/root/chroot_tmpdir/scmroot/plasma-workspace Cloning into '/var/lib/mock/f40-build-769568-125706/root/chroot_tmpdir/scmroot/plasma-workspace'... $ git fetch origin a67d8effe7057ea31ab9ca13b3f2b04ee96cbbc8:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/plasma-workspace * [new ref] a67d8effe7057ea31ab9ca13b3f2b04ee96cbbc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a67d8ef Clean up uneeded conditionals in packaging