for the attack on gibraltar , brauchitsch considered that the spanish would provide most of the necessary infantry while the real task of reducing the fortress was left to the german heavy artillery .