$ git clone -n https://src.fedoraproject.org/rpms/pytest.git /var/lib/mock/f41-build-side-1-2905735-34714/root/chroot_tmpdir/scmroot/pytest Cloning into '/var/lib/mock/f41-build-side-1-2905735-34714/root/chroot_tmpdir/scmroot/pytest'... $ git fetch origin 0705614be5e832b223119463631e87812cc830ad:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/pytest * [new ref] 0705614be5e832b223119463631e87812cc830ad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0705614 Mark the license in the specfile as SPDX formula