I camped for 20 or so days (90% backwoods primitive camping) on a 35 day trip last summer spanning many Rocky Mountain states, as well as Canadian provinces. I never had a problem with bears.
I always put any food or scented (think chapstick, deodorant, toothpaste etc) items in a bag at least 50 yards downwind from my tent. Everything in the bag was sealed in ziplock style bags. I never ate in my tent, but I did eat near it. If I spilled food on myself or my clothes they went in the bag or were washed in a river before bed. Sealed food items such as unopened beef jerkey and granola bars were left in my tank bag on the bike near my tent, and didn't have a problem. Of course YMMV.
I carried bear spray but never had to use it.
"All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost."
'12 690 Enduro
// 690 Wiki