RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/build/ rpmbuild.h

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Tue 25 Dec 2007 - 00:58:48 CET
Message-Id: <20071224235848.027AE34845B@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
  Module: rpm                              Date:   25-Dec-2007 00:58:47
  Branch: HEAD                             Handle: 2007122423584700

  Modified files:
    rpm/build               rpmbuild.h

  Log:
    rpmconstant stuff cannot deal with #ifdef'ed value definitions, so
    break the rule here and provide this value unconditionally

  Summary:
    Revision    Changes     Path
    2.92        +2  -4      rpm/build/rpmbuild.h
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/build/rpmbuild.h
  ============================================================================
  $ cvs diff -u -r2.91 -r2.92 rpmbuild.h
  --- rpm/build/rpmbuild.h	23 Dec 2007 20:08:26 -0000	2.91
  +++ rpm/build/rpmbuild.h	24 Dec 2007 23:58:47 -0000	2.92
  @@ -35,10 +35,8 @@
       RPMBUILD_RMBUILD	= (1 <<  9),	/*!< Remove build sub-tree. */
       RPMBUILD_STRINGBUF	= (1 << 10),	/*!< only for doScript() */
       RPMBUILD_TRACK	= (1 << 11),	/*!< Execute %%track. */
  -    RPMBUILD_RMSPEC	= (1 << 12)	/*!< Remove spec file. */
  -#if defined(RPM_VENDOR_OPENPKG) /* explicit-source-fetch-cli-option */
  -   ,RPMBUILD_FETCHSOURCE= (1 <<  13)	/*!< Fetch source(s) and patch(s). */
  -#endif
  +    RPMBUILD_RMSPEC	= (1 << 12),	/*!< Remove spec file. */
  +    RPMBUILD_FETCHSOURCE= (1 << 13)	/*!< Fetch source(s) and patch(s). */
   } rpmBuildFlags;
   /*@=typeuse@*/
   
  @@ .
Received on Tue Dec 25 00:58:48 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.