1Heat oil in a small saute pan over medium-low heat. Add onion and cook until it is limp, about 7 minutes, stirring frequently. Add spices and pepper totaste. Cook, stirring constantly, for 2 minutes. Remove from heat and let cool.
2Put mayonnaise in a small bowl and fold in spice mixture. Refrigerate, covered, until well chilled.