Modelling the spectral gamma-ray log: The influence of provenance and selective transport