Author: mlschroe Date: Mon Dec 1 11:12:56 2008 New Revision: 11837 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11837&view=rev Log: - backport file provides fix [bnc#450286] - backport =Vnd support Modified: branches/SuSE-Linux-11_0-Branch/sat-solver/tools/repo_susetags.c Modified: branches/SuSE-Linux-11_0-Branch/sat-solver/tools/repo_susetags.c URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-11_0-Branch/sat-solver/tools/repo_susetags.c?rev=11837&r1=11836&r2=11837&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/sat-solver/tools/repo_susetags.c (original) +++ branches/SuSE-Linux-11_0-Branch/sat-solver/tools/repo_susetags.c Mon Dec 1 11:12:56 2008 @@ -66,6 +66,12 @@ Id id, evrid; char *sp[4]; + if (line[6] == '/') + { + /* A file dependency. Do not try to parse it */ + id = str2id(pool, line + 6, 1); + return repo_addid_dep(pd->repo, olddeps, id, marker); + } i = split(line + 5, sp, 4); /* name, <op>, evr, ? */ if (i != 1 && i != 3) /* expect either 'name' or 'name' <op> 'evr' */ { @@ -801,6 +807,9 @@ handle = 0; indesc++; continue; + case CTAG('=', 'V', 'n', 'd'): + s->vendor = str2id(pool, line + 6, 1); + continue; /* From here it's the attribute tags. */ case CTAG('=', 'G', 'r', 'p'): -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org