--- apt-0.5.15cnc5/apt-pkg/rpm/rpmindexfile.cc.bak	2004-01-19 00:45:31 +0200
+++ apt-0.5.15cnc5/apt-pkg/rpm/rpmindexfile.cc	2004-01-19 00:50:09 +0200
@@ -638,7 +638,8 @@
 	 {	 
 	    // The registered object has no vendor, but the new one does
 	    // so, we make the previous one have the vendor too.
-	    if ((*iter)->Vendor == NULL && Vendor != NULL)
+	    if (Vendor != NULL
+			&& ((*iter)->Vendor == NULL || (*iter)->Vendor != Vendor))
 	       (*iter)->Vendor = Vendor;
 	    return *iter;
 	 }
