yep, right. DISTVERSION is the same misunderstanding
authorStephan Kulow <coolo@suse.de>
Wed, 31 Oct 2007 11:43:50 +0000 (11:43 +0000)
committerStephan Kulow <coolo@suse.de>
Wed, 31 Oct 2007 11:43:50 +0000 (11:43 +0000)
tools/repo_content.c

index d8eac00..3014d6f 100644 (file)
@@ -224,11 +224,11 @@ pool_addrepo_content(Pool *pool, FILE *fp)
              pack++;
            }
          else if (istag ("VERSION"))
-           ;
+           s->evr = makeevr(pool, value);
          else if (istag ("DISTPRODUCT"))
            ; // DISTPRODUCT is only for Yast, not for the package manager
          else if (istag ("DISTVERSION"))
-           s->evr = makeevr(pool, value);
+           ; // DISTVERSION is only for Yast
          else if (istag ("VENDOR"))
            s->vendor = str2id(pool, value, 1);
          else if (istag ("ARCH"))