I guess you'd better educate the NASA folks who sent the rovers to mars. Better tell them about Spectrum Analysis and save us the money and them the effort of sampling the planet babyboy.
Sigh.
Spectrum analysis of bulk minerals in an asteroid is a trivial matter. The experiments NASA is running on Mars actually use spectrum analysis, but of small, targeted samples, and typically after heating the sample, in order to detect trace quantities of specific compounds. One does not detect such a level of detail at a distance.
Your ignorance astounds. Seriously. You should consider just being quiet because you are looking quite uneducated and ill-informed. You really are embarrassing yourself.