Privately owned Spanish grocer Grupo Eroski has bought a controlling stake in Spanish retailer Caprabo.