Preheat oven to 350°. Stir together pecans, brown sugar, rosemary, and black pepper. Dredge bacon slices in pecan mixture, pressing to adhere. Arrange bacon in a single layer on a wire rack coated with cooking spray; place in an aluminum foil-lined jelly-roll pan. Bake 40 to 50 minutes or until crisp.