]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
rename StringType VERSION to VERSIONNUMBER
[apt.git] / apt-pkg / deb / deblistparser.cc
index 103b126de05b58b9316a9835bc8aad8a9752797e..63414c9448d7e25dc4cf32a0d85a781c5f749eec 100644 (file)
@@ -162,7 +162,7 @@ bool debListParser::NewVersion(pkgCache::VerIterator &Ver)
               std::string const version(Open + 1, (Close - Open) - 1);
               if (version != Ver.VerStr())
               {
-                 map_stringitem_t const idx = StoreString(pkgCacheGenerator::VERSION, version);
+                 map_stringitem_t const idx = StoreString(pkgCacheGenerator::VERSIONNUMBER, version);
                  Ver->SourceVerStr = idx;
               }
            }
@@ -953,7 +953,7 @@ bool debListParser::LoadReleaseInfo(pkgCache::PkgFileIterator &FileI,
    }
    APT_INRELEASE(MIXED, "Suite", FileI->Archive)
    APT_INRELEASE(MIXED, "Component", FileI->Component)
-   APT_INRELEASE(VERSION, "Version", FileI->Version)
+   APT_INRELEASE(VERSIONNUMBER, "Version", FileI->Version)
    APT_INRELEASE(MIXED, "Origin", FileI->Origin)
    APT_INRELEASE(MIXED, "Codename", FileI->Codename)
    APT_INRELEASE(MIXED, "Label", FileI->Label)