1 --- rpm-4.3.orig/build/parsePreamble.c 2003-11-16 13:47:23.000000000 +0100
2 +++ rpm-4.3/build/parsePreamble.c 2004-02-29 15:40:58.466804704 +0100
4 headerCopyTags(spec->packages->header, pkg->header,
5 (int_32 *)copyTagsDuringParse);
7 + if (headerGetEntry(pkg->header, RPMTAG_EPOCH, NULL, NULL, NULL) == 0) {
9 + headerAddEntry(pkg->header, RPMTAG_EPOCH, RPM_INT32_TYPE, &num, 1);
10 + addMacro(spec->macros, "epoch", NULL, "0", RMIL_SPEC);
13 if (checkForRequired(pkg->header, NVR))
14 return RPMERR_BADSPEC;