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:   24-Jul-2005 09:22:25
  Branch: HEAD                             Handle: 2005072408222500

  Modified files:
    openpkg-src/gcc41       gcc41.spec

  Log:
    make post-adjustments more deterministically by first moving then
    removing. This way the order of the partly nested directories do not
    matter any more.

  Summary:
    Revision    Changes     Path
    1.16        +4  -0      openpkg-src/gcc41/gcc41.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc41/gcc41.spec
  ============================================================================
  $ cvs diff -u -r1.15 -r1.16 gcc41.spec
  --- openpkg-src/gcc41/gcc41.spec      24 Jul 2005 06:01:11 -0000      1.15
  +++ openpkg-src/gcc41/gcc41.spec      24 Jul 2005 07:22:25 -0000      1.16
  @@ -236,11 +236,15 @@
       #   cleanup installation tree
       mv $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.a \
          $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/
  +    dirs=""
       for multilib in `$RPM_BUILD_ROOT%{l_prefix}/bin/gcc --print-multi-lib`; 
do
           subdir=`echo "$multilib" | sed -e 's/;.*$//'`
           [ ".$subdir" = .. ] && continue
           mv $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir/lib*.a \
              
$RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/$subdir/
  +        dirs="$dirs $subdir"
  +    done
  +    for subdir in $dirs; do
           rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir
       done
       mv $RPM_BUILD_ROOT%{l_prefix}/${triple}/include/* \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to