The magnetic field and spectral variability of the He-weak star HR 2949