You're close. In some very general way we could start with definitions:
Interferometry You use a constant and well understood light and vary some parameter of the light's paths through the machine (either by changing the length of a leg, changing the material on one leg, or changing the motion of the material on one leg.
To repeat: hold the light steady and change something about the optical path.
Spectroscopy You use a well understood and unvarying machine to analyze the spectral composition of the light (that is, how bright it is at different frequencies.
To repeat: keep the optical path constant1 and examine different lights (or different frequencies in a single mixed light source).
And see where that takes us.
However, in the case of Fourier transform spectroscopy mentioned in the comments by WhatRoughBeast, we perform what this rule would describe as a interferometric measurement using a sinusoidal variation of one path length and then transform the data to get arrive at a spectral measurement.
This isn't an accident because the two ideas are intimately linked. both involve measuring differences in (distance traveled/wavelength). You can use this to investigate either of these quantities.
1 I'm anticipating a little confusion over what I mean by "keep the optical path constant" because some spectrometers have swinging telescope. I'm going to define the out-going "optical path" for this purpose as the space between the analyzer and the objective of the telescope--the scope is just a magnifier. Similarly for machines that use a telescope to focus the incident light: we treat that step as separate from the spectroscopic measurement.