$ git clone -n https://src.fedoraproject.org/rpms/ypserv.git /var/lib/mock/f40-build-804211-144467/root/chroot_tmpdir/scmroot/ypserv Cloning into '/var/lib/mock/f40-build-804211-144467/root/chroot_tmpdir/scmroot/ypserv'... $ git fetch origin 1294f444fe732c54e75edbb6dd11dd8d8c7300b1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ypserv * [new ref] 1294f444fe732c54e75edbb6dd11dd8d8c7300b1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1294f44 Don't hard code _FORTIFY_SOURCE=2, Update URL, Change license to the SPDX format (GPL-2.0-only)