This is a lot more expensive than Bear spray (approx $200.00) but I think this would be an exceptionally effective way to scare away bears that may have taken too keen an interest in your camp site/shelter.
T.E.D.D. (Tactical Electronic Distraction Device) | Foxfury Lighting Solutions
And it's rechargeable