agument location and mediaid
authorKlaus Kaempf <kkaempf@suse.de>
Fri, 3 Mar 2006 11:46:02 +0000 (11:46 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Fri, 3 Mar 2006 11:46:02 +0000 (11:46 +0000)
PatchRpm and DeltaRpm are currently commented out, need equal definition
in parser/yum and source/yum

zypp/source/yum/YUMSourceImpl.cc

index d119281..00dfbf1 100644 (file)
@@ -537,14 +537,16 @@ namespace zypp
        // Collect augmented package data
        NVRAD packagedata( nvra, package->deps() );
 
-       if (!parsed.location.empty) {
+       if (!parsed.location.empty()) {
            impl->_location = parsed.location;
            impl->_mediaid = str::strtonum<unsigned>( parsed.media );
        }
-//     if (!parsed->plainRpms.empty()) impl->_plain_rpms = parsed->plainRpms;
-       if (!parsed->patchRpms.empty()) impl->_patch_rpms = parsed->patchRpms;
-       if (!parsed->deltaRpms.empty()) impl->_delta_rpms = parsed->deltaRpms;
-
+//     if (!parsed.plainRpms.empty()) impl->_plain_rpms = parsed.plainRpms;
+#warning Needs equal PatchRpm and DeltaRpm definition in parser/yum and source/yum
+#if 0
+       if (!parsed.patchRpms.empty()) impl->_patch_rpms = parsed.patchRpms;
+       if (!parsed.deltaRpms.empty()) impl->_delta_rpms = parsed.deltaRpms;
+#endif
        //DBG << "NVRAD " << (NVRA)packagedata << endl;