is there a relation between packages and provides? if possible, put common parts in a variable