RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  [EMAIL PROTECTED]
  Module: rpm                              Date:   23-Jul-2007 20:41:13
  Branch: HEAD                             Handle: 2007072319411200

  Modified files:
    rpm                     CHANGES
    rpm/build               poptBT.c
    rpm/lib                 poptALL.c poptI.c

  Log:
    Unbreak rpm(1) short-hand option "--force" on package installation by
    consolidating the incompatible corresponding POPT records into a shared
    one.

  Summary:
    Revision    Changes     Path
    1.1515      +1  -0      rpm/CHANGES
    2.11        +0  -2      rpm/build/poptBT.c
    2.36        +2  -0      rpm/lib/poptALL.c
    2.34        +0  -2      rpm/lib/poptI.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.1514 -r1.1515 CHANGES
  --- rpm/CHANGES       23 Jul 2007 15:03:41 -0000      1.1514
  +++ rpm/CHANGES       23 Jul 2007 18:41:12 -0000      1.1515
  @@ -1,4 +1,5 @@
   4.5 -> 5.0:
  +    - rse: unbreak rpm(1) short-hand option "--force" on package installation
       - rse: use implicit internal library dependencies by default, but allow 
disabling via --disable-build-intlibdep
       - rse: use implicit external library dependencies by default, but allow 
disabling via --disable-build-extlibdep
       - rse: remove GNU libtool *.la files during installation only if 
--disable-build-lafiles is used
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/poptBT.c
  ============================================================================
  $ cvs diff -u -r2.10 -r2.11 poptBT.c
  --- rpm/build/poptBT.c        16 Jul 2007 01:32:26 -0000      2.10
  +++ rpm/build/poptBT.c        23 Jul 2007 18:41:12 -0000      2.11
  @@ -192,8 +192,6 @@
   
    { "clean", '\0', 0, 0, POPT_RMBUILD,
        N_("remove build tree when done"), NULL},
  - { "force", '\0', POPT_ARGFLAG_DOC_HIDDEN, &rpmBTArgs.force, 
RPMCLI_POPT_FORCE,
  -        N_("ignore ExcludeArch: directives from spec file"), NULL},
    { "fsmdebug", '\0', (POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN), &_fsm_debug, -1,
        N_("debug file state machine"), NULL},
    { "nobuild", '\0', 0, &noBuild,  POPT_NOBUILD,
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/poptALL.c
  ============================================================================
  $ cvs diff -u -r2.35 -r2.36 poptALL.c
  --- rpm/lib/poptALL.c 16 Jul 2007 10:06:37 -0000      2.35
  +++ rpm/lib/poptALL.c 23 Jul 2007 18:41:12 -0000      2.36
  @@ -345,6 +345,8 @@
   
    { "debug", 'd', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_debug, -1,
           NULL, NULL },
  + { "force", '\0', 0, NULL, RPMCLI_POPT_FORCE,
  +     N_("force operation (short hand for --replacepkgs --replacefiles on 
installation and ignores ExcludeArch: directives on building"), NULL},
   
   #if defined(POPT_ARGFLAG_RANDOM)
    { "rsegfault", '\0', 
POPT_ARG_INT|POPT_ARGFLAG_RANDOM|POPT_ARGFLAG_DOC_HIDDEN,
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/poptI.c
  ============================================================================
  $ cvs diff -u -r2.33 -r2.34 poptI.c
  --- rpm/lib/poptI.c   16 Jul 2007 01:32:28 -0000      2.33
  +++ rpm/lib/poptI.c   23 Jul 2007 18:41:12 -0000      2.34
  @@ -286,8 +286,6 @@
    { "fileconflicts", '\0', POPT_BIT_CLR, &rpmIArgs.probFilter,
        (RPMPROB_FILTER_REPLACEOLDFILES | RPMPROB_FILTER_REPLACENEWFILES),
        N_("detect file conflicts between packages"), NULL},
  - { "force", '\0', 0, NULL, RPMCLI_POPT_FORCE,
  -     N_("short hand for --replacepkgs --replacefiles"), NULL},
   
    { "freshen", 'F', POPT_BIT_SET, &rpmIArgs.installInterfaceFlags,
        (INSTALL_UPGRADE|INSTALL_FRESHEN|INSTALL_INSTALL),
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                [email protected]

Reply via email to