$ git clone -n https://src.fedoraproject.org/rpms/lastpass-cli.git /var/lib/mock/f37-build-680719-77107/root/chroot_tmpdir/scmroot/lastpass-cli Cloning into '/var/lib/mock/f37-build-680719-77107/root/chroot_tmpdir/scmroot/lastpass-cli'... $ git reset --hard fca41b68885dc1b48de7c84913e02a5b34224844 HEAD is now at fca41b6 Convert to rpmautospec