Outside of the parks that's what tent shotguns are for, habituated bears, they will usually permanently disappear around the third training session. First 2 use rock salt. A bear can hit admirable speeds with his ass loaded up with salt from 10 yds and it's a lesson that makes a deep impression on most persistent bears . In the Parks I seen 1/2" steel ball bearings from wrist slingshots used with success.
I look at it this way, pepper spray is a close-in last line of last defense. I'm not deployin' it when the bear is 30 yds away or even 30 ft. Even with a gun I ain't shooting a bear at 30 yds and a bear's charge can be all bluff to 10-15 ft or less and at that point I really don't care what way the wind is blowin', I'm gettin' that bear square in the face somehow. If the winds in my face the bear's gonna hafta get closer and my eyes are gonna water. Plus the fact that if the wind is blowin' that damn hard that pepper spray's ineffective at 3-5 ft, I likely quit fishin' long before.
Of course this is all conjecture, I've never had to face a close-in pissed bear and I have no idea if my feet have the courage to hang around to find out for sure. Did kick one in the nads when his head was inside a sweetfeed bag though, never saw him again.