]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-v3-support.patch
- platform entries to support alpha/ia64/ppc64/s390/s390x/sparc[v9]/sparc64
[packages/rpm.git] / rpm-v3-support.patch
CommitLineData
9678a3ea 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
3@@ -253,6 +255,7 @@
4 const char ** N;
5 rpmTagType Nt;
6 int_32 Count;
7+int rpmv3 = headerIsEntry(h, RPMTAG_OLDFILENAMES);
8
9 assert(scareMem == 0); /* XXX always allocate memory */
10 if (tagN == RPMTAG_PROVIDENAME) {
11@@ -280,12 +283,12 @@
12 tagEVR = RPMTAG_TRIGGERVERSION;
13 tagF = RPMTAG_TRIGGERFLAGS;
14 } else
15- if (tagN == RPMTAG_DIRNAMES) {
16+ if (!rpmv3 && tagN == RPMTAG_DIRNAMES) {
17 Type = "Dirnames";
18 tagEVR = 0;
19 tagF = 0;
20 } else
21- if (tagN == RPMTAG_FILELINKTOS) {
22+ if (!rpmv3 && tagN == RPMTAG_FILELINKTOS) {
23 Type = "Filelinktos";
24 tagEVR = RPMTAG_DIRNAMES;
25 tagF = RPMTAG_DIRINDEXES;
This page took 0.048769 seconds and 4 git commands to generate.