From 3ae20cd53dfdffbdc98cedc7a2d6fa5ccadb9ccd Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 20 Aug 2009 13:04:21 +0300 Subject: [PATCH] We always add EVR and Flags to dependencies, remove bogus condition --- build/reqprov.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/reqprov.c b/build/reqprov.c index ba6a1e8..e474cdb 100644 --- a/build/reqprov.c +++ b/build/reqprov.c @@ -90,10 +90,8 @@ int addReqProv(rpmSpec spec, Header h, rpmTag tagN, /* Avoid adding duplicate dependencies. */ if (isNewDep(h, nametag, N, EVR, Flags, indextag, index)) { headerPutString(h, nametag, N); - if (flagtag) { - headerPutString(h, versiontag, EVR); - headerPutUint32(h, flagtag, &Flags, 1); - } + headerPutString(h, versiontag, EVR); + headerPutUint32(h, flagtag, &Flags, 1); if (indextag) { headerPutUint32(h, indextag, &index, 1); } -- 2.7.4