The constituent six Socialist Republics and two Socialist Autonomous Provinces that made up the country were SR Bosnia and Herzegovina , SR Croatia , SR Macedonia , SR Montenegro , SR Slovenia , and SR Serbia ( including the autonomous provinces of Vojvodina and Kosovo , which after 1974 were largely equal to the other members of the federation ) .
After the WW 2 it was renamed to the Socialist Federal Republic of Yugoslavia with six republics , 2 autonomous provinces : Bosnia-Herzegovina , Croatia , Macedonia , Montenegro , Serbia and Slovenia and two autonomous provinces in Serbia : Vojvodina in the north , and Kosovo , next to Albania .