U.S. developers boosted construction spending in October at the fastest pace in more than four years, propelled by a surge in government projects. But spending on home construction and commercial projects both fell.

Overall construction spending increased 0.8 percent in October to a seasonally adjusted annual rate of $908.4 billion, the Labor Department said Monday. That’s up from September, when spending fell 0.3 percent.