Make the cupcakes:
Preheat the oven to 350° (175°C). Line a cupcake pan with 18 liners.
In a stand mixer, beat the butter and sugars on medium speed until fluffy, about 5 minutes. Meanwhile, sift the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, cloves and salt into a medium bowl.
Add the eggs 1 at a time to the mixer, scraping down the sides after each addition.
Stir the vanilla into the buttermilk.
Alternate adding the flour and buttermilk mixture, beginning and ending with the flour.
Beat in the pumpkin until smooth.
Scoop the batter among the cupcake liners — you’re looking to get them 3/4 full.
Rap the filled pans once on the counter to release any air bubbles.
Bake the cakes until a toothpick inserted into the center comes out clean, about 20 to 25 minutes. Cool the cupcakes on racks completely.