$ git clone -n https://src.fedoraproject.org/rpms/opencryptoki.git /var/lib/mock/f38-build-side-42-init-devel-741272-27656/root/chroot_tmpdir/scmroot/opencryptoki Cloning into '/var/lib/mock/f38-build-side-42-init-devel-741272-27656/root/chroot_tmpdir/scmroot/opencryptoki'... $ git fetch origin 4d698330044fb798743426b90646f9a1742259bb:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/opencryptoki * [new ref] 4d698330044fb798743426b90646f9a1742259bb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4d69833 drop unnecessary opencryptoki-3.11.0-group.patch, problem with root run all the pkcs11 commands without the need to be a member of the pkcs11 group was fixed long ago