Is there really a definitive teaching of the Church on capital punishment?

CWR has this article here.