summaryrefslogtreecommitdiff
path: root/lib/order.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/order.c')
-rw-r--r--lib/order.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/order.c b/lib/order.c
index 854f37e98..50fde30aa 100644
--- a/lib/order.c
+++ b/lib/order.c
@@ -159,7 +159,7 @@ static inline int addRelation(rpmts ts,
if (rpmdsParseRichDep(requires, &ds1, &ds2, &op, NULL) == RPMRC_OK) {
if (op != RPMRICHOP_ELSE)
addRelation(ts, al, p, ds1);
- if (op == RPMRICHOP_IF) {
+ if (op == RPMRICHOP_IF || op == RPMRICHOP_UNLESS) {
rpmds ds21, ds22;
rpmrichOp op2;
if (rpmdsParseRichDep(requires, &ds21, &ds22, &op2, NULL) == RPMRC_OK && op2 == RPMRICHOP_ELSE) {