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

  Server: rpm5.org                         Name:   Per Øyvind Karlsen
  Root:   /v/rpm/cvs                       Email:  pkarl...@rpm5.org
  Module: rpm                              Date:   23-Mar-2011 21:51:31
  Branch: rpm-5_3                          Handle: 2011032320513001

  Modified files:           (Branch: rpm-5_3)
    rpm                     CHANGES
    rpm/build               parseFiles.c

  Log:
    always run %clean so it won't be required in .spec file.

  Summary:
    Revision    Changes     Path
    1.3296.2.177+1  -0      rpm/CHANGES
    2.36.4.1    +3  -1      rpm/build/parseFiles.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.3296.2.176 -r1.3296.2.177 CHANGES
  --- rpm/CHANGES       19 Mar 2011 17:11:14 -0000      1.3296.2.176
  +++ rpm/CHANGES       23 Mar 2011 20:51:31 -0000      1.3296.2.177
  @@ -1,4 +1,5 @@
   5.3.9 -> 5.3.10
  +    - proyvind: always run %clean so it won't be required in .spec file.
       - jbj: checksig: check explictly for per-item failures after iterating.
       - jbj: install: check explictly for per-item failures after iterating.
       - jbj: rpmgi: save per-item failures separately from iteration returns.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/parseFiles.c
  ============================================================================
  $ cvs diff -u -r2.36 -r2.36.4.1 parseFiles.c
  --- rpm/build/parseFiles.c    3 Aug 2008 14:00:58 -0000       2.36
  +++ rpm/build/parseFiles.c    23 Mar 2011 20:51:30 -0000      2.36.4.1
  @@ -113,7 +113,9 @@
                goto exit;
        }
       }
  -    rc = nextPart;
  +
  +    /* if no %clean section, add implicit */
  +    rc = (nextPart == PART_NONE) ? PART_CLEAN : nextPart;
   
   exit:
       argv = _free(argv);
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to