US Senate approves a spending package to fund the government through January 2026 following a weekend of negotiations.