Complex sentence: It was originally composed for the James Bond film "Spectre" (2015), however the song that ended up being featured in the film was Sam Smith's "Writings on the Wall".
Split into simpler sentences: It was originally composed for the James Bond film "Spectre" (2015). But the song that ended up being chosen was Sam Smith's "Writing's on the Wall".