tools/repo_susetags.c: Parse packages vendor
authorMichael Andres <ma@suse.de>
Fri, 5 Sep 2008 11:32:14 +0000 (11:32 +0000)
committerMichael Andres <ma@suse.de>
Fri, 5 Sep 2008 11:32:14 +0000 (11:32 +0000)
VERSION.cmake
package/libsatsolver.changes
tools/repo_susetags.c

index f7a58ef..735c856 100644 (file)
@@ -46,6 +46,6 @@
 
 SET(LIBSATSOLVER_MAJOR "0")
 SET(LIBSATSOLVER_MINOR "10")
-SET(LIBSATSOLVER_PATCH "6")
+SET(LIBSATSOLVER_PATCH "7")
 
-# last released 0.10.4
+# last released 0.10.7
index 36970b4..fff8118 100644 (file)
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Sep  5 13:29:47 CEST 2008 - ma@suse.de
+
+- tools/repo_susetags.c: Parse packages vendor (bnc #422493).
+- 0.10.7
+
+-------------------------------------------------------------------
 Thu Sep  4 12:30:06 CEST 2008 - kkaempf@suse.de
 
 - tools/rpmdb2solv: Adapt to xml-based /etc/products.d
index 9329a1f..24f77ac 100644 (file)
@@ -733,7 +733,7 @@ repo_add_susetags(Repo *repo, FILE *fp, Id product, const char *language, int fl
                s->arch = arch;
              else
                s->arch = str2id(pool, sp[3], 1);
-             s->vendor = vendor;
+             s->vendor = vendor; /* default to product vendor */
            }
        }
 
@@ -832,6 +832,9 @@ repo_add_susetags(Repo *repo, FILE *fp, Id product, const char *language, int fl
            handle = 0;
            indesc++;
            continue;
+          case CTAG('=', 'V', 'n', 'd'):                                        /* vendor */
+            s->vendor = str2id(pool, line + 6, 1);
+            continue;
 
         /* From here it's the attribute tags.  */
           case CTAG('=', 'G', 'r', 'p'):