Report config and missinok flags in deptype format extension too
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 11 Jul 2012 12:10:08 +0000 (15:10 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 3 Oct 2012 07:06:09 +0000 (10:06 +0300)
(cherry picked from commit 928386a317aad2be6ce1a76b4dbee5a948a6184a)

lib/formats.c

index b830bbd..653f43d 100644 (file)
@@ -233,6 +233,10 @@ static char * deptypeFormat(rpmtd td)
            argvAdd(&sdeps, "pretrans");
        if (item & RPMSENSE_POSTTRANS)
            argvAdd(&sdeps, "posttrans");
+       if (item & RPMSENSE_CONFIG)
+           argvAdd(&sdeps, "config");
+       if (item & RPMSENSE_MISSINGOK)
+           argvAdd(&sdeps, "missingok");
 
        if (sdeps) {
            val = argvJoin(sdeps, ",");