OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   23-Feb-2005 15:48:01
  Branch: HEAD                             Handle: 2005022314480100

  Modified files:
    openpkg-src/openpkg     HISTORY openpkg.spec

  Log:
    fix %clean procedure to correctly remove build area

  Summary:
    Revision    Changes     Path
    1.247       +1  -0      openpkg-src/openpkg/HISTORY
    1.400       +5  -2      openpkg-src/openpkg/openpkg.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  ============================================================================
  $ cvs diff -u -r1.246 -r1.247 HISTORY
  --- openpkg-src/openpkg/HISTORY       23 Feb 2005 14:28:11 -0000      1.246
  +++ openpkg-src/openpkg/HISTORY       23 Feb 2005 14:48:01 -0000      1.247
  @@ -3,6 +3,7 @@
   ====
   
   20050223 **** RELEASE AS PART OF OPENPKG 2.3.0 ***
  +20050223 fix %clean procedure to correctly remove build area
   20050223 apply cURL 7.13.0 security fixes
   20050221 upgrade to ZLib 1.2.2 (excluded in 2.2.3)
   20050209 workaround PIC/DSO related problems under FreeBSD on amd64/ia64 by 
enforcing -fPIC (excluded in 2.2.3)
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.spec
  ============================================================================
  $ cvs diff -u -r1.399 -r1.400 openpkg.spec
  --- openpkg-src/openpkg/openpkg.spec  23 Feb 2005 14:28:11 -0000      1.399
  +++ openpkg-src/openpkg/openpkg.spec  23 Feb 2005 14:48:01 -0000      1.400
  @@ -1299,8 +1299,11 @@
       #   skip in bootstrap phase 2 (see openpkg.boot)
       [ ".$OPENPKG_BOOT" = .1 ] && exit 0
   
  -    #   cleanup after building
  -    rm -rf $RPM_BUILD_ROOT
  +    #   cleanup build area
  +    rm -rf openpkg-%{version} >/dev/null 2>&1 || true
  +
  +    #   cleanup installation area
  +    rm -rf $RPM_BUILD_ROOT >/dev/null 2>&1 || true
   
   %pre
       #   always performed for upgrades and because it doesn't harm!
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to