Ministers from the Mediterranean 's mainly-Arab southern rim agreed to back the Spanish city of Barcelona 's candidacy to host the Union in exchange for the post of secretary-general going to a southern member .