Toast the chilies, cumin seeds, peppercorns, cloves and cinnamon in a dry pan over low heat, shaking, until fragrant.