One of the things I've read elsewhere that made sense to me is that you wouldn't want to use bear spray when already in contact with the bear or from within a hammock or tent/tarp set up. Also, you get more "engagements" with a handgun (by simply carrying more ammo) than spray unless you're actually carrying spare spray cans.
It's "only black bears" by me so I feel more than OK with a hot 45 ACP.
I always marvel at the "just black bear" commentary most make (this isn't directed at you alukban), but I've seen smallish black bears dismantle packs of dogs with little effort. I would hate to be on the receiving end of any black bear, large or small!