According to this, Barcelona and Spa will alternate from 2027 onwards, with Barcelona being on the schedule in even-numbered years.
This kinda surprised me, I didn't expect them to keep doing two races in one European country.
If I'm not mistaken this leaves one open spot on the 2027 schedule...