]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
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 f7a58ef3862a6959539f8c278575045348953874..735c856554fbc0f3971a64d901913f4dc78b9d37 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 36970b477f15a72a46ed8c2a2962685c61c3b672..fff81186d1b607dbe75a5d4e7be477337492b873 100644 (file)
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+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
 
index 9329a1fce9ecede51f1ef62b24aa5ff3ec93da91..24f77ac9144971969289d5871c89c7eaf7fd4f03 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'):