diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-11 05:10:32 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-11 05:10:32 +0000 |
commit | efa970345191e0438d8debe3e4bf13bdbd457dfa (patch) | |
tree | 887f007f3a85bfafea5996fdb99a30f215619b0f /parsehdlist.c | |
parent | b253cf5b1fb2682ff08aa31cddf28ceab496b7d7 (diff) | |
download | rpmtools-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
Diffstat (limited to 'parsehdlist.c')
-rw-r--r-- | parsehdlist.c | 2 |
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]) { |