A passport is citizenship for the issuing country.

Here, **Country A is the issuing country.** Being in country B when you renewed your passport does not make you citizen of Country B. 

However the **place of issue is Country B/ whatever the city**.