The blast was the latest in a series of attacks in Rawalpindi , a city just south of the capital where the military has its headquarters , and it is likely to revive concern about Islamic militancy in Pakistan just days after moderates won parliamentary elections .