← Back to team overview

registry team mailing list archive

[Bug 633208] Re: Conflicts: dependencies without release misfire

 

So what to do for rpm5?
Okay with the following change, or should I push it under an #ifdef?


--- rpmdb/rpmevr.c~      2010-03-06 17:20:46.000000000 +0100
+++ rpmdb/rpmevr.c        2010-10-15 20:21:28.120003324 +0200
@@ -277,6 +277,10 @@ assert(b->F[RPMEVR_D] != NULL);
 
     for (s = rpmEVRorder(); *s != '\0'; s++) {
        int ix;
+       if(*s == 'R' && (b->Flags & (~RPMSENSE_GREATER & RPMSENSE_EQUAL))
+                               && *(b->F[RPMEVR_R]) == '\0')
+                           break;
+
        switch ((int)*s) {
        default:        continue;       /*@notreached@*/ /*@switchbreak@*/break;
        case 'E':       ix = RPMEVR_E;  /*@switchbreak@*/break;

-- 
Conflicts: dependencies without release misfire
https://bugs.launchpad.net/bugs/633208
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Unity Linux.