In a medium bowl, sift together the flour, baking powder and soda, salt and spices. Using an electric mixer, beat the butter and sugar until light and fluffy. Mix in eggs one at a time and when fully incorporated, add syrup and vanilla. Starting and ending with the flour mixture, alternate with the buttermilk and stir into the mixture.