]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-epoch0.patch
- _autostrip* bugfixes
[packages/rpm.git] / rpm-epoch0.patch
index cdf2b5f3151a75d5d4f6b5d3a0dd2862c66cdd3c..1ce9a7568134cfe022750581a92d103023fa3045 100644 (file)
@@ -2,7 +2,7 @@
 +++ rpm-4.3/build/parsePreamble.c      2004-02-29 15:40:58.466804704 +0100
 @@ -942,6 +943,12 @@
        headerCopyTags(spec->packages->header, pkg->header,
-                       (int_32 *)copyTagsDuringParse);
+                       (uint32_t *)copyTagsDuringParse);
  
 +    if (headerGetEntry(pkg->header, RPMTAG_EPOCH, NULL, NULL, NULL) == 0) {
 +      int num = 0;
@@ -10,6 +10,6 @@
 +      addMacro(spec->macros, "epoch", NULL, "0", RMIL_SPEC);
 +    }
 +    
-     if (checkForRequired(pkg->header, NVR))
-       return RPMERR_BADSPEC;
+     if (checkForRequired(pkg->header, NVR) != RPMRC_OK)
+       return RPMRC_FAIL;
  
This page took 0.029601 seconds and 4 git commands to generate.