The Bank of Canada indicated in its monetary policy report a couple of weeks ago that government spending—not just the federal government but also provincial government spending in general and given the fiscal policy stance—contributes to inflation.
The spending that you mentioned is part of government spending, so obviously the cost of government operations also contributes to sustaining inflation. It contributes to a small extent, because it's not major spending—although we can debate what “major” is in the context of monetary policy and fiscal policy—but it does contribute to sustaining inflation.