RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ CHANGES build.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Mon 03 Dec 2007 - 16:42:37 CET
Message-Id: <20071203154237.C805634845C@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
  Module: rpm                              Date:   03-Dec-2007 16:42:37
  Branch: HEAD                             Handle: 2007120315423700

  Modified files:
    rpm                     CHANGES build.c

  Log:
    - fix: rpmbuild -ba dir/foo.spec was broken.

  Summary:
    Revision    Changes     Path
    1.1914      +1  -0      rpm/CHANGES
    2.115       +1  -1      rpm/build.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.1913 -r1.1914 CHANGES
  --- rpm/CHANGES	3 Dec 2007 15:12:09 -0000	1.1913
  +++ rpm/CHANGES	3 Dec 2007 15:42:37 -0000	1.1914
  @@ -1,4 +1,5 @@
   5.0a4 -> 5.0b1:
  +    - jbj: fix: rpmbuild -ba dir/foo.spec was broken.
       - jbj: arbitrary tags w RPM_STRING_ARRAY_TYPE default type, append assumed.
       - jbj: eliminate tagName "(unknown)" failure, return "Tag_0x12345678"
       - jbj: re-enable binary, not linear, tag lookups.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build.c
  ============================================================================
  $ cvs diff -u -r2.114 -r2.115 build.c
  --- rpm/build.c	26 Nov 2007 05:16:48 -0000	2.114
  +++ rpm/build.c	3 Dec 2007 15:42:37 -0000	2.115
  @@ -191,7 +191,7 @@
   	    else
   		se = stpcpy(se, ".");
   	    *se++ = '/';
  -	    se += strlen(strcpy(se,basename(strcpy(se, s))));
  +	    se += strlen(strcpy(se,strcpy(se, s)));
   	} else
   	    se = stpcpy(se, s);
   	specURL = rpmGetPath(buf, NULL);
  @@ .
Received on Mon Dec 3 16:42:37 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.