There's a conflict with the system hostname command on SuSE 8.2 if
coreutils is build with_legacy = yes.  The /etc/profile command uses
``hostname -s'' to get the short hostname, and the coreutuils hostname
command then sets the hostname to ``-s''.

Granted that you probably don't need coreutils on Linux, and that building
it with_legacy = yes is most likely redundant.  On the other hand, hostname
like uname, is probably system dependant and shouldn't be replaced.

I've hacked this locally by removing the hostname command before building
the list, and the attached patch implements this.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Fix reason firmly in her seat and call to her tribunal every fact,
every opinion. Question with boldness even the existence of a God;
because, if there is one, he must more approve of the homage of 
reason, than that of blindfolded fear.''  --Thomas Jefferson
--- coreutils.spec      2003-08-19 16:09:23.000000000 -0700
+++ coreutils.spec.orig 2003-08-19 16:31:12.000000000 -0700
@@ -33,7 +33,7 @@
 Group:        Utility
 License:      GPL
 Version:      5.0.1
-Release:      20030819
+Release:      1.3.0
 
 #   package options
 %option       with_legacy  no
@@ -107,9 +107,6 @@
       for i in g*; do
           ln -s $i `echo "$i" | sed -e 's;^g;;'`
       done
-               # these conflict on SuSE 8.1
-               rm $RPM_BUILD_ROOT%{l_prefix}/bin/hostname \
-                       $RPM_BUILD_ROOT%{l_prefix}/man/man1/hostname*
     ) || exit $?
 %endif
     rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir

Reply via email to