Heat the olive oil in a wide shallow pan over medium heat. Add the diced onion and minced garlic, cook, stirring often, until the onion is soft and slightly sticky, about 10 minutes (it should not brown – reduce the heat if it threatens to brown).Add the crushed coriander and cumin seeds, cinnamon and cayenne and cook, stirring, until fragrant, about 2 minutes.