def set_label(self, s, label):
        self.state.body_labels[self.bodies[self.index].segment_id] = label
        self.set_index(self.index + 1)
def getProvides(self):
		"""Fetch a spec file from pkgdb and get provides from all its [sub]packages"""
		if self.sp_obj == None:
			return {}

		return self.sp_obj.getProvides()