with a UK Indefinite residency? Do I need a Shenghen Visa to pass throught Spain or does my UK residency with a tunisian passport suffice? I have indefinite leave to remain on my tunisian passport, I am not a British national

I am not making two bookings but only one but this website suggested a stop in Spain then another flight to London Gatwick as part of the same booking.