U.S. consumer spending in June recorded its smallest gain in four months as demand for automobiles softened, suggesting the economy lost some momentum at the end of the second quarter.

The Commerce Department said on Monday that consumer