Sounds like someone just made a huge pile of cash by selling magic computer codes to the government. Your tax dollars at work.
So even if you believe this was wasted spending, at least that money will hopefully go back directly to the US economy. The military generally prefers to "buy American" when possible, so hopefully at least this tax payer money is flowing back to the country at some level.