Spectral evolution of a long X-ray burst