$ git clone -n https://src.fedoraproject.org/rpms/lsnipes.git /var/lib/mock/f37-build-666122-74316/root/chroot_tmpdir/scmroot/lsnipes Cloning into '/var/lib/mock/f37-build-666122-74316/root/chroot_tmpdir/scmroot/lsnipes'... $ git reset --hard f9e259aa37b7a173384c0de2b442d1a79de96ede HEAD is now at f9e259a Convert to rpmautospec