The spending package cleared its last parliamentary hurdle, paving the way for civilian and defense investments.