Bring the brown sugar, water, cumin, and red pepper to a boil in a small saucepan over medium heat, stirring constantly until the sugar dissolves. Remove the pan from the heat, and stir in the pecans, rosemary, and salt. Spread the pecan mixture in an even layer on the prepared pan. Bake in the preheated oven until lightly browned, about 12 minutes. Cool in pan, and break into small pieces if necessary.