Rite Aid's same-store sales edge up 0.5%