MADRID (AP) — Real Madrid says Spain coach Julen Lopetegui will be the club's manager after the World Cup.