Spurs survive final day drama