2e60cb3
From d20b7d2b00e349610f3cf08d9ff3723cc7c56e32 Mon Sep 17 00:00:00 2001
2e60cb3
From: Florian Festi <ffesti@redhat.com>
2e60cb3
Date: Mon, 7 Sep 2015 11:39:36 +0200
2e60cb3
Subject: [PATCH] Fix rpmrichOpStr to use the new syntax
2e60cb3
2e60cb3
You need to rebuild all packages using rich deps build with previous versions of rpm as the richdeps are converted to the old syntax.
2e60cb3
---
2e60cb3
 lib/rpmds.c | 8 ++++----
2e60cb3
 1 file changed, 4 insertions(+), 4 deletions(-)
2e60cb3
2e60cb3
diff --git a/lib/rpmds.c b/lib/rpmds.c
2e60cb3
index 77733bc..ba6e244 100644
2e60cb3
--- a/lib/rpmds.c
2e60cb3
+++ b/lib/rpmds.c
2e60cb3
@@ -1390,13 +1390,13 @@ const char *rpmrichOpStr(rpmrichOp op)
2e60cb3
     if (op == RPMRICHOP_SINGLE)
2e60cb3
 	return "SINGLE";
2e60cb3
     if (op == RPMRICHOP_AND)
2e60cb3
-	return "&";
2e60cb3
+	return "and";
2e60cb3
     if (op == RPMRICHOP_OR)
2e60cb3
-	return "|";
2e60cb3
+	return "or";
2e60cb3
     if (op == RPMRICHOP_IF)
2e60cb3
-	return "IF";
2e60cb3
+	return "if";
2e60cb3
     if (op == RPMRICHOP_ELSE)
2e60cb3
-	return "ELSE";
2e60cb3
+	return "else";
2e60cb3
     return NULL;
2e60cb3
 }
2e60cb3
 
2e60cb3
-- 
2e60cb3
2.1.0
2e60cb3