The attached patch removes the uname and hostname files when compiling with with_legacy = yes on coreutils.
The uname program is used extensively in autoconf files, often expecting vendor-specific behaviour as a means of identifying the system. On SuSE Linux systems using the OpenPKG version of hostname in system scripts can cause some very interesting side affects. This particular diff was make on a Release 2.0 .spec file, but should be easily adapted to current. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC 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/ ``Never chastise a Windows user...just smile at them kindly as you would a disadvantaged child.'' WBM
--- coreutils.spec.orig 2004-04-05 07:14:12.000000000 -0700 +++ coreutils.spec 2004-04-07 14:59:16.000000000 -0700 @@ -38,7 +38,7 @@ Group: Utility License: GPL Version: %{V_release} -Release: 2.0.1 +Release: 20040407 # package options %option with_legacy no @@ -126,6 +126,11 @@ for i in g*; do ln -s $i `echo "$i" | sed -e 's;^g;;'` done + # these cause problems on SuSE 8.x and Darwin + for p in hostname uname ; do + rm $RPM_BUILD_ROOT%{l_prefix}/bin/$p + rm $RPM_BUILD_ROOT%{l_prefix}/man/man1/${p}* + done ) || exit $? %endif rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir