projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3128ed0
)
Report config and missinok flags in deptype format extension too
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 11 Jul 2012 12:10:08 +0000
(15:10 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 3 Oct 2012 07:06:09 +0000
(10:06 +0300)
(cherry picked from commit
928386a317aad2be6ce1a76b4dbee5a948a6184a
)
lib/formats.c
patch
|
blob
|
history
diff --git
a/lib/formats.c
b/lib/formats.c
index
b830bbd
..
653f43d
100644
(file)
--- a/
lib/formats.c
+++ b/
lib/formats.c
@@
-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, ",");