Climate deal faces challenges over spending