1 --- rpm-4.3/build/parsePreamble.c.orig 2004-02-26 22:31:15.020274848 +0100
2 +++ rpm-4.3/build/parsePreamble.c 2004-02-26 22:33:33.616205064 +0100
13 spec->lineNum, spec->line);
14 return RPMERR_BADSPEC;
17 xx = headerAddEntry(pkg->header, tag, RPM_INT32_TYPE, &num, 1);
19 case RPMTAG_AUTOREQPROV:
21 strcpy(NVR, "(main package)");
23 pkg = newPackage(spec);
27 if (! initialPackage) {
28 /* There is one option to %package: <pkg> or -n <pkg> */
30 if (!spec->anyarch && checkForValidArchitectures(spec))
31 return RPMERR_BADSPEC;
35 + headerAddEntry(pkg->header, RPMTAG_EPOCH, RPM_INT32_TYPE, &num, 1);
38 if (pkg == spec->packages)
39 fillOutMainPackage(pkg->header);