Spain learns from Cape Verde draw