]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- update against rpm5 changeset 9161
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 30 Jan 2008 22:48:52 +0000 (22:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-noexpand.patch -> 1.8

rpm-noexpand.patch

index 87c7e7a019f16b1f3e26a3d9962768056fe022a4..0516b435c6d0a8e62fd3005a382ff17da61bd912 100644 (file)
@@ -9,8 +9,17 @@
            nextPart = PART_NONE;
            break;
        }
---- rpm-4.3/build/parseSpec.c.wiget    Thu May 15 18:15:51 2003
-+++ rpm-4.3/build/parseSpec.c  Fri May 16 00:08:57 2003
+--- rpm-4.3/build/parseSpec.c  Fri May 16 00:08:57 2003
++++ rpm-5.0.1/build/parseSpec.c        2008-01-31 00:43:18.388524335 +0200
+@@ -168,7 +168,7 @@
+ /**
+  */
+-static int copyNextLineFromOFI(Spec spec, OFI_t * ofi)
++static int copyNextLineFromOFI(Spec spec, OFI_t * ofi, int strip)
+       /*@globals rpmGlobalMacroContext, h_errno,
+               fileSystem @*/
+       /*@modifies spec->nextline, spec->nextpeekc, spec->lbuf, spec->line,
 @@ -230,12 +230,16 @@
  /*@=mods@*/
  
      if (!spec->readStack->reading && !strncmp("%if", s, sizeof("%if")-1)) {
        match = 0;
      } else if (! strncmp("%ifarch", s, sizeof("%ifarch")-1)) {
+@@ -346,7 +351,7 @@
+       /* Copy next file line into the spec line buffer */
+-      if ((rc = copyNextLineFromOFI(spec, ofi)) != 0) {
++      if ((rc = copyNextLineFromOFI(spec, ofi, strip)) != 0) {
+       if (rc == RPMRC_FAIL)
+           goto retry;
+       return rc;
 @@ -354,6 +359,7 @@
        ofi = spec->fileStack;
        goto retry;
This page took 0.649681 seconds and 4 git commands to generate.