it told them about who the newly discovered and the to be discovered lands will belong to: so not to the country that would conquer them.
Specifically, it divided America among the meridian of 370 leagues of Portuguese Cape Verde: west of this line (most of Americas) would belong to Spain and east (Africa, Brazil) would belong to Brazil.