Consumer price gains in Japan remained little more than zero in June while household spending dropped, challenging the central bank's effort to spur inflation.