diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tagexts.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/tagexts.c b/lib/tagexts.c index 08f7a17e2..8e20c0db3 100644 --- a/lib/tagexts.c +++ b/lib/tagexts.c @@ -147,12 +147,8 @@ static int filedepTag(Header h, rpmTag tagN, rpmtd td, headerGetFlags hgflags) goto exit; } - if (tagN == RPMTAG_PROVIDENAME) - deptype = 'P'; - else if (tagN == RPMTAG_REQUIRENAME) - deptype = 'R'; - ds = rpmdsNew(h, tagN, 0); + deptype = rpmdsD(ds); fdeps = xmalloc(numfiles * sizeof(*fdeps)); while ((fileix = rpmfiNext(fi)) >= 0) { |