1 --- a/lib/rpmds.c 10 Jun 2007 17:12:25 -0000 2.55.2.4
2 +++ b/lib/rpmds.c 6 Oct 2007 01:09:19 -0000
7 +int rpmv3 = headerIsEntry(h, RPMTAG_OLDFILENAMES);
9 assert(scareMem == 0); /* XXX always allocate memory */
10 if (tagN == RPMTAG_PROVIDENAME) {
12 tagEVR = RPMTAG_TRIGGERVERSION;
13 tagF = RPMTAG_TRIGGERFLAGS;
15 - if (tagN == RPMTAG_DIRNAMES) {
16 + if (!rpmv3 && tagN == RPMTAG_DIRNAMES) {
21 - if (tagN == RPMTAG_FILELINKTOS) {
22 + if (!rpmv3 && tagN == RPMTAG_FILELINKTOS) {
24 tagEVR = RPMTAG_DIRNAMES;
25 tagF = RPMTAG_DIRINDEXES;