From 3cad9a39ff1cd4cd18b3adf3b68f9b38c6a9c3db Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Oct 28 2005 08:57:38 +0000 Subject: - Fix chgrp basic test. --- diff --git a/coreutils-chgrp.patch b/coreutils-chgrp.patch new file mode 100644 index 0000000..a93e725 --- /dev/null +++ b/coreutils-chgrp.patch @@ -0,0 +1,14 @@ +--- coreutils-5.92/tests/group-names.chgrp 2005-10-28 09:20:12.000000000 +0100 ++++ coreutils-5.92/tests/group-names 2005-10-28 09:55:27.000000000 +0100 +@@ -18,3 +18,11 @@ + (exit 77); exit 77 + ;; + esac ++ ++set `id -Gn` ++if echo "$2" | grep -q '[^0-9]' ++then ++ exit 0 ++else ++ (exit 77); exit 77 ++fi diff --git a/coreutils.spec b/coreutils.spec index fd91b17..b5faf82 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -22,7 +22,7 @@ Patch3: coreutils-mkdir2.patch Patch4: coreutils-tac.patch Patch5: coreutils-5.92-alt-md5sum-binary.patch -# fileutils +Patch100: coreutils-chgrp.patch Patch107: fileutils-4.1.10-timestyle.patch Patch182: coreutils-acl.patch @@ -78,7 +78,7 @@ the old GNU fileutils, sh-utils, and textutils packages. %patch4 -p0 -b .tac %patch5 -p1 -b .alt-md5sum-binary -# fileutils +%patch100 -p1 -b .chgrp %patch107 -p1 -b .timestyle %patch182 -p1 -b .acl @@ -263,6 +263,7 @@ fi %changelog * Fri Oct 28 2005 Tim Waugh +- Fix chgrp basic test. - Include md5sum patch from ALT. * Mon Oct 24 2005 Tim Waugh 5.92-0.1