Preheat oven to 350 degrees. Spray an 8 x 8-inch baking dish with cooking spray.
FILLING: In a large bowl, gently toss together apricots, lemon juice, sugar, cornstarch, cinnamon, ginger, and nutmeg until the apricots are evenly coated with the sugar-spice mixture. Pour into the prepared baking dish.
CRUMBLE: In a medium bowl, whisk together flour, brown sugar, cinnamon, ginger, nutmeg, cloves and salt. Stir in rolled oats, raisins, and pecans. Stir in melted butter until the oat mixture begins to clump together. Sprinkle topping over apricots.
Bake until the filling is bubbly and topping is golden brown, about 40 minutes. Cool at least 30 minutes before serving. Serve warm with vanilla bean ice cream!
Apricots tend to be tart, so if you like a sweeter filling add 1/4 cup more granulated sugar.