clean metadata before building rpm packages.