Spectral manipulation in Fabry-Perot lasers: perturbative inverse scattering approach