diff --git a/coreutils-8.5-dircolors.patch b/coreutils-8.5-dircolors.patch new file mode 100644 index 0000000..8707c0a --- /dev/null +++ b/coreutils-8.5-dircolors.patch @@ -0,0 +1,13 @@ +diff -urNp coreutils-8.5-orig/src/dircolors.hin coreutils-8.5/src/dircolors.hin +--- coreutils-8.5-orig/src/dircolors.hin 2010-04-20 21:52:04.000000000 +0200 ++++ coreutils-8.5/src/dircolors.hin 2010-07-22 16:18:41.978036926 +0200 +@@ -127,6 +127,9 @@ EXEC 01;32 + .deb 01;31 + .rpm 01;31 + .jar 01;31 ++.war 01;31 ++.ear 01;31 ++.sar 01;31 + .rar 01;31 + .ace 01;31 + .zoo 01;31 diff --git a/coreutils-DIR_COLORS b/coreutils-DIR_COLORS index a045303..4befd4c 100644 --- a/coreutils-DIR_COLORS +++ b/coreutils-DIR_COLORS @@ -134,6 +134,9 @@ EXEC 01;32 .deb 01;31 .rpm 01;31 .jar 01;31 +.war 01;31 +.ear 01;31 +.sar 01;31 .rar 01;31 .ace 01;31 .zoo 01;31 diff --git a/coreutils-DIR_COLORS.256color b/coreutils-DIR_COLORS.256color index b682ea2..1b2d628 100644 --- a/coreutils-DIR_COLORS.256color +++ b/coreutils-DIR_COLORS.256color @@ -109,6 +109,9 @@ EXEC 38;5;34 .deb 38;5;9 .rpm 38;5;9 .jar 38;5;9 +.war 38;5;9 +.ear 38;5;9 +.sar 38;5;9 .rar 38;5;9 .ace 38;5;9 .zoo 38;5;9 diff --git a/coreutils-DIR_COLORS.lightbgcolor b/coreutils-DIR_COLORS.lightbgcolor index 2400e1e..a843bff 100644 --- a/coreutils-DIR_COLORS.lightbgcolor +++ b/coreutils-DIR_COLORS.lightbgcolor @@ -113,6 +113,9 @@ EXEC 00;32 .deb 00;31 .rpm 00;31 .jar 00;31 +.war 00;31 +.ear 00;31 +.sar 00;31 .rar 00;31 .ace 00;31 .zoo 00;31 diff --git a/coreutils.spec b/coreutils.spec index 3b945a2..7c313d5 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,7 +1,7 @@ Summary: A set of basic GNU tools commonly used in shell scripts Name: coreutils Version: 8.5 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Group: System Environment/Base Url: http://www.gnu.org/software/coreutils/ @@ -32,6 +32,8 @@ Patch103: coreutils-8.2-uname-processortype.patch Patch104: coreutils-df-direct.patch #Fix mkstemp on sparc64 Patch105: coreutils-mkstemp.patch +#add jar-like archives to colored ones +Patch106: coreutils-8.5-dircolors.patch # sh-utils #add info about TZ envvar to date manpage @@ -127,6 +129,7 @@ Libraries for coreutils package. %patch103 -p1 -b .sysinfo %patch104 -p1 -b .dfdirect %patch105 -p1 -b .sparc +%patch106 -p1 -b .java # sh-utils %patch703 -p1 -b .dateman @@ -336,6 +339,10 @@ fi %{_libdir}/coreutils %changelog +* Thu Jul 22 2010 Ondrej Vasik - 8.5-4 +- Add .ear, .war, .sar , for Java jar-like archives to + dircolors (#616497) + * Fri Jul 2 2010 Dan HorĂ¡k - 8.5-3 - rebuilt with the updated configuration patch - drop the old -O1 exception for s390(x)