$ git clone -n https://src.fedoraproject.org/rpms/grass.git /var/lib/mock/f42-build-side-1-3588964-46952/root/chroot_tmpdir/scmroot/grass Cloning into '/var/lib/mock/f42-build-side-1-3588964-46952/root/chroot_tmpdir/scmroot/grass'... $ git fetch origin 42c0b3fa9812202ce6c116442b121783b876f790:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/grass * [new ref] 42c0b3fa9812202ce6c116442b121783b876f790 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 42c0b3f cleanup: cleaned the BuildRequires of mysql-devel package the mariadb-connector-c-devel package is available for all RHEL versions from version 8 and above, as version 7 is quite old this condition is not necessary and all packages should use the BuildRequires of mariadb-connector-c-devel instead of mysql-devel if possible