This information is stored in the overrides file, which in turn is used to generate the packages file in the archive.
This was required because packages did not contain priority and section information.