Preheat oven to 350 degrees. Prep an 8x8 or 9x9 pan by lining with parchment paper or by lightly greasing the sides and bottom. Set aside.
In a medium bowl stir together the flour, baking powder, baking soda, cloves, nutmeg and salt. Set aside.
In your mixer beat the butter until soft and fluffy. Beat in the sugar until combined, and fluffy.
Add the eggs, one at a time, beating until combined. Then add and mix in the vanilla and pumpkin.
Add the dry ingredients to the wet and mix just until all the dry ingredients have been incorporated.
Pour batter into the prepared pan and smooth out. Place in the oven and bake 35-40 minutes until a toothpick inserted into the center comes out clean. Remove from the oven and let cool completely before frosting.