Spectral evolution of multiply impulsive solar bursts