The U.S. federal government reported Thursday that spending on gasoline and other energy products contributed most to a rise in consumer spending.