Gamma-ray spectrum of RX J1713.7-3946 in the Fermi era and future detection of neutrinos