$ git clone -n https://src.fedoraproject.org/rpms/fping.git /var/lib/mock/f31-build-52171-27625/root/chroot_tmpdir/scmroot/fping Cloning into '/var/lib/mock/f31-build-52171-27625/root/chroot_tmpdir/scmroot/fping'... $ git reset --hard f93645e6ff4d8385bac37ee65d0134b3f1f70eb9 HEAD is now at f93645e update to 4.2 use %autosetup, %make_build, %make_install macros mark COPYING as %license