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

  Server: cvs.openpkg.org                  Name:   Bill Campbell
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   05-Feb-2006 22:16:35
  Branch: HEAD                             Handle: 2006020521163500

  Modified files:
    openpkg-src/coreutils   coreutils.spec

  Log:
    Remove uname and hostname when with_legacy=yes

  Summary:
    Revision    Changes     Path
    1.48        +7  -1      openpkg-src/coreutils/coreutils.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/coreutils/coreutils.spec
  ============================================================================
  $ cvs diff -u -r1.47 -r1.48 coreutils.spec
  --- openpkg-src/coreutils/coreutils.spec      1 Jan 2006 13:12:42 -0000       
1.47
  +++ openpkg-src/coreutils/coreutils.spec      5 Feb 2006 21:16:35 -0000       
1.48
  @@ -33,7 +33,7 @@
   Group:        Utility
   License:      GPL
   Version:      5.93
  -Release:      20051121
  +Release:      20060205
   
   #   package options
   %option       with_legacy  no
  @@ -114,6 +114,12 @@
         for i in g*; do
             ln -s $i `echo "$i" | sed -e 's;^g;;'`
         done
  +    #   These cause problems on SuSE 8.x and Darwin.
  +    #   configure determines system type using these.
  +      for p in hostname uname ; do
  +        rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/$p
  +        rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/${p}*
  +      done
         cd $RPM_BUILD_ROOT%{l_prefix}/man/man1
         for i in g*; do
             ln -s $i `echo "$i" | sed -e 's;^g;;'`
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to