Heat the olive oil gently in a stainless steel pan and soften the onions for 10 minutes without letting them brown. Add the spices and heat them up to temper them. When they have cooked for 2–3 minutes, add the fig and pumpkin and stir thoroughly to permeate them with the flavours of the spices and onions.
Add the brown sugar, vinegar and whole chilli. Season and allow to simmer over a