I don't think I can ever see a circumstance in which I would spank my child. But I also think I have a lot of parenting ahead of me, and we do desperate things when we're feeling desperate.
Acceptable? No. Understandable in a moment of sheer frustration? Sure. But I'd never want to see a parent use it as a standard form of punishment.