In 1969 Crewe collaborated with the singer known as Oliver including the production of his pop hit Jean a song written by poet Rod McKuen that served as theme to the Oscar-winning film The Prime of Miss Jean Brodie starring Maggie Smith .