$ git clone -n https://src.fedoraproject.org/rpms/kdegames3.git /var/lib/mock/f31-build-56726-28248/root/chroot_tmpdir/scmroot/kdegames3 Cloning into '/var/lib/mock/f31-build-56726-28248/root/chroot_tmpdir/scmroot/kdegames3'... $ git reset --hard 6929ecfca0bd28f840fd9aa0b3b4b0eaa1717cbf HEAD is now at 6929ecf .spec cleanup, use %make_build %make_install %license %ldconfig_scriptlets