aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-11 05:10:32 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-11 05:10:32 +0000
commitefa970345191e0438d8debe3e4bf13bdbd457dfa (patch)
tree887f007f3a85bfafea5996fdb99a30f215619b0f
parentb253cf5b1fb2682ff08aa31cddf28ceab496b7d7 (diff)
downloadrpmtools-efa970345191e0438d8debe3e4bf13bdbd457dfa.tar
rpmtools-efa970345191e0438d8debe3e4bf13bdbd457dfa.tar.gz
rpmtools-efa970345191e0438d8debe3e4bf13bdbd457dfa.tar.bz2
rpmtools-efa970345191e0438d8debe3e4bf13bdbd457dfa.tar.xz
rpmtools-efa970345191e0438d8debe3e4bf13bdbd457dfa.zip
Don't include internal dependencies of the rpmlib in the parsehdlist output
-rw-r--r--parsehdlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parsehdlist.c b/parsehdlist.c
index 39776ec..7e2d818 100644
--- a/parsehdlist.c
+++ b/parsehdlist.c
@@ -99,6 +99,8 @@ void print_list_flags(Header header, int_32 tag_name, int_32 tag_flags, int_32 t
if (list) {
for(i = 0; i < count; i++) {
+ /* skip internal deps from the rpmlib */
+ if (strncmp(list[i], "rpmlib(", 7) == 0) continue;
if (sep && i > 0) printf("%c%s", sep, list[i]);
else printf(format, name, list[i]);
if (list_evr[i] && list_evr[i][0]) {