1 --- rpm-4.4.2/lib/rpmlib.h.suggests 2007-06-14 16:26:47.000000000 -0400
2 +++ rpm-4.4.2/lib/rpmlib.h 2007-06-14 16:28:19.000000000 -0400
3 @@ -447,6 +447,16 @@ typedef enum rpmTag_e {
4 RPMTAG_PRIORITY = 1162, /* i extension placeholder */
5 RPMTAG_CVSID = 1163, /* s */
6 #define RPMTAG_SVNID RPMTAG_CVSID /* s */
7 + RPMTAG_BLINKPKGID = 1164, /* s[] */
8 + RPMTAG_BLINKHDRID = 1165, /* s[] */
9 + RPMTAG_BLINKNEVRA = 1166, /* s[] */
10 + RPMTAG_FLINKPKGID = 1167, /* s[] */
11 + RPMTAG_FLINKHDRID = 1168, /* s[] */
12 + RPMTAG_FLINKNEVRA = 1169, /* s[] */
13 + RPMTAG_PACKAGEORIGIN = 1170, /* s */
14 + RPMTAG_TRIGGERPREIN = 1171, /* internal */
15 + RPMTAG_BUILDSUGGESTS = 1172, /* internal */
16 + RPMTAG_BUILDENHANCES = 1173, /* internal */
19 RPMTAG_FIRSTFREE_TAG /*!< internal */
20 --- rpm-4.4.2/build/parsePreamble.c.suggests 2007-06-14 15:54:21.000000000 -0400
21 +++ rpm-4.4.2/build/parsePreamble.c 2007-06-14 16:26:05.000000000 -0400
22 @@ -684,6 +684,12 @@ static int handlePreambleTag(Spec spec,
23 if ((rc = parseRCPOT(spec, pkg, field, tag, 0, tagflags)))
26 + case RPMTAG_BUILDSUGGESTS:
27 + case RPMTAG_BUILDENHANCES:
29 + case RPMTAG_SUGGESTSFLAGS:
30 + case RPMTAG_ENHANCESFLAGS:
32 case RPMTAG_BUILDCONFLICTS:
33 case RPMTAG_CONFLICTFLAGS:
34 case RPMTAG_OBSOLETEFLAGS:
35 @@ -783,6 +789,10 @@ static struct PreambleRec_s preambleList
36 {RPMTAG_DISTTAG, 0, 0, 0, "disttag"},
37 {RPMTAG_CVSID, 0, 0, 0, "cvsid"},
38 {RPMTAG_SVNID, 0, 0, 0, "svnid"},
39 + {RPMTAG_SUGGESTSFLAGS, 0, 0, 0, "suggests"},
40 + {RPMTAG_ENHANCESFLAGS, 0, 0, 0, "enhances"},
41 + {RPMTAG_BUILDSUGGESTS, 0, 0, 0, "buildsuggests"},
42 + {RPMTAG_BUILDENHANCES, 0, 0, 0, "buildenhances"},
43 /*@-nullassign@*/ /* LCL: can't add null annotation */