git://project.juiblex.co.uk
/
razor2.git/.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1f72f9d
)
"requires x > n" matches "provides x", but "obsoletes x < n" doesn't
author
Dan Winship
<danw@gnome.org>
Wed, 12 Mar 2008 17:27:26 +0000 (13:27 -0400)
committer
Dan Winship
<danw@gnome.org>
Wed, 12 Mar 2008 17:27:26 +0000 (13:27 -0400)
razor.c
patch
|
blob
|
history
diff --git
a/razor.c
b/razor.c
index
65ac783
..
cb88294
100644
(file)
--- a/
razor.c
+++ b/
razor.c
@@
-2031,6
+2031,12
@@
provider_satisfies_requirement(struct razor_property *provider,
if (!*required)
return 1;
+ if (!*provided) {
+ if (requirement->relation >= RAZOR_VERSION_EQUAL)
+ return 1;
+ else
+ return 0;
+ }
cmp = versioncmp(provided, required);