Alvaro Morata, Fabian Ruiz and Dani Carvajal were on target in the first half for La Roja.
Record-breaking high temperatures are likely across the country.
The KU football team landed another big transfer, this one from the SEC.