[Yum-devel] [PATCH] Update from noarch pkg to arch pkg and vice versa. BZ 709225

Zdenek Pavlas 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
> default.

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:

dummy-bz709225-2.spec
+Obsoletes: dummy-bz709225 == 1.0-1

dummy-bz709225-3.spec
+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?

--
Zdenek


More information about the Yum-devel mailing list