[Yum-devel] [PATCH] Update from noarch pkg to arch pkg and vice versa. BZ 709225
zpavlas at redhat.com
Mon Sep 26 08:37:23 UTC 2011
> > > I meant that traditionally to have packages "move arch" we had
> > > them obsolete older versions of themselves in their specfiles.
> > Oh, now I see. That shouldn't hurt, but is it necessary?
> I guess it's rather a "make this special case explicit" and not the
Ok, I get it. We have required foo-1.2 to explicitly obsolete foo-1.1
if their arches differ. But maybe arch <=> noarch updates are somewhat
weaker case of "moving arches"?
Anyway, I've added 'Obsoletes' to the test case:
+Obsoletes: dummy-bz709225 == 1.0-1
+Obsoletes: dummy-bz709225 == 1.0-2
..and the package gets updated with no changes in yum code.
:: [ LOG ] :: Assertions: 6 good, 0 bad
So should we just close this BZ now?
More information about the Yum-devel