]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- update to 5.0.1, however isn't %epoch 0 in rpm.macros already sufficent? rpm-5_0_1-0_1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 30 Jan 2008 22:19:13 +0000 (22:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-epoch0.patch -> 1.5

rpm-epoch0.patch

index 1ce9a7568134cfe022750581a92d103023fa3045..59b9f94b5f8246ff3580f0ed1d8c94866d403e2b 100644 (file)
@@ -6,7 +6,7 @@
  
 +    if (headerGetEntry(pkg->header, RPMTAG_EPOCH, NULL, NULL, NULL) == 0) {
 +      int num = 0;
-+      headerAddEntry(pkg->header, RPMTAG_EPOCH, RPM_INT32_TYPE, &num, 1);
++      headerAddEntry(pkg->header, RPMTAG_EPOCH, RPM_UINT32_TYPE, &num, 1);
 +      addMacro(spec->macros, "epoch", NULL, "0", RMIL_SPEC);
 +    }
 +    
This page took 0.045661 seconds and 4 git commands to generate.