Obsoletes w rpm nie dziala ?

Arkadiusz Miskiewicz arekm w pld-linux.org
Wto, 10 Sie 2004, 19:58:53 CEST


On Tuesday 10 of August 2004 19:00, Jakub Bogusz wrote:

> Może komuś by się chciało spytać?

19:56 < jbj> arekm: i literally don't remember. it was right at beginning of 
4.2.1 so it was important, i dimly remember a Big Customer
             problem. if I blew it, I would have been likeliest to miss the 
case EVR == EVR exactly. If so, this patch should "fix":
19:56 < jbj> Index: depends.c
19:56 < jbj> 
===================================================================
19:56 < jbj> RCS file: /cvs/devel/rpm/lib/depends.c,v
19:56 < jbj> retrieving revision 1.315
19:56 < jbj> diff -u -b -B -w -p -r1.315 depends.c
19:56 < jbj> --- depends.c   1 Apr 2004 12:56:54 -0000       1.315
19:56 < jbj> +++ depends.c   10 Aug 2004 17:55:37 -0000
19:56 < jbj> @@ -305,7 +305,7 @@ int rpmtsAddInstallElement(rpmts ts, Hea
19:56 < jbj>              */
19:56 < jbj>             if (rpmdsEVR(obsoletes) == NULL
19:56 < jbj>              || rpmdsAnyMatchesDep(oh, obsoletes, 
_rpmds_nopromote))
19:56 < jbj> -               if (rpmVersionCompare(h, oh))
19:56 < jbj> +               if (rpmVersionCompare(h, oh) >= 0)
19:56 < jbj>                     xx = removePackage(ts, oh, 
rpmdbGetIteratorOffset(mi), pkgKey);
19:56 < jbj>         }
19:56 < jbj>         mi = rpmdbFreeIterator(mi);
19:57 < jbj> if patch "works", feel free to check in. tnx for noticing.

-- 
Arkadiusz Miśkiewicz     CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org, 1024/3DB19BBD, JID: arekm.jabber.org, PLD/Linux




Więcej informacji o liście dyskusyjnej pld-devel-pl