projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac653e9
)
- ignore version in source field
author
Michael Schroeder
<mls@suse.de>
Wed, 21 Oct 2009 12:25:39 +0000
(14:25 +0200)
committer
Michael Schroeder
<mls@suse.de>
Wed, 21 Oct 2009 12:25:39 +0000
(14:25 +0200)
ext/repo_deb.c
patch
|
blob
|
history
diff --git
a/ext/repo_deb.c
b/ext/repo_deb.c
index
8b18f45
..
6d3d64b
100644
(file)
--- a/
ext/repo_deb.c
+++ b/
ext/repo_deb.c
@@
-266,6
+266,14
@@
control2solvable(Solvable *s, Repodata *data, char *control)
case 'S' << 8 | 'O':
if (!strcasecmp(tag, "source"))
{
+ char *q2;
+ /* ignore version for now */
+ for (q2 = q; *q2; q2++)
+ if (*q2 == ' ' || *q2 == '\t')
+ {
+ *q2 = 0;
+ break;
+ }
if (s->name && !strcmp(q, id2str(pool, s->name)))
repodata_set_void(data, s - pool->solvables, SOLVABLE_SOURCENAME);
else