fixed typo
authorJan Kupec <jkupec@suse.cz>
Sun, 3 Jun 2007 23:12:39 +0000 (23:12 +0000)
committerJan Kupec <jkupec@suse.cz>
Sun, 3 Jun 2007 23:12:39 +0000 (23:12 +0000)
zypp/parser/yum/PatchFileReader.cc

index d88d138..6532f8d 100644 (file)
@@ -550,8 +550,8 @@ namespace zypp
         return true;
       }
 
-      // xpath: /patch/atoms/package/patchrpm/baseversion (+)
-      if (reader_r->name() == "baseversion")
+      // xpath: /patch/atoms/package/patchrpm/base-version (+)
+      if (reader_r->name() == "base-version")
       {
         data::BaseVersion_Ptr base_ptr = new data::BaseVersion;
 
@@ -626,8 +626,8 @@ namespace zypp
         return true;
       }
 
-      // xpath: /patch/atoms/package/deltarpm/baseversion
-      if (reader_r->name() == "baseversion")
+      // xpath: /patch/atoms/package/deltarpm/base-version
+      if (reader_r->name() == "base-version")
       {
         // size of the rpm file
         _deltarpm->baseVersion.edition = Edition(reader_r->getAttribute("ver").asString(),