diff --git a/coreutils-7.6-lzipcolor.patch b/coreutils-7.6-lzipcolor.patch new file mode 100644 index 0000000..d27678b --- /dev/null +++ b/coreutils-7.6-lzipcolor.patch @@ -0,0 +1,11 @@ +diff -urNp coreutils-7.6-orig/src/dircolors.hin coreutils-7.6/src/dircolors.hin +--- coreutils-7.6-orig/src/dircolors.hin 2009-09-01 13:01:16.000000000 +0200 ++++ coreutils-7.6/src/dircolors.hin 2009-09-21 08:00:38.000000000 +0200 +@@ -131,6 +131,7 @@ EXEC 01;32 + .cpio 01;31 + .7z 01;31 + .rz 01;31 ++.lz 01;31 + + # image formats + .jpg 01;35 diff --git a/coreutils-DIR_COLORS b/coreutils-DIR_COLORS index a3a14bb..0e07569 100644 --- a/coreutils-DIR_COLORS +++ b/coreutils-DIR_COLORS @@ -123,6 +123,7 @@ EXEC 01;32 .Z 01;31 .dz 01;31 .gz 01;31 +.lz 01;31 .xz 01;31 .bz2 01;31 .tbz 01;31 diff --git a/coreutils-DIR_COLORS.256color b/coreutils-DIR_COLORS.256color index b9ba1d0..4628941 100644 --- a/coreutils-DIR_COLORS.256color +++ b/coreutils-DIR_COLORS.256color @@ -98,6 +98,7 @@ EXEC 01;38;5;34 .Z 01;38;5;9 .dz 01;38;5;9 .gz 01;38;5;9 +.lz 01;38;5;9 .xz 01;38;5;9 .bz2 01;38;5;9 .tbz 01;38;5;9 diff --git a/coreutils-DIR_COLORS.lightbgcolor b/coreutils-DIR_COLORS.lightbgcolor index 6d8e457..d254559 100644 --- a/coreutils-DIR_COLORS.lightbgcolor +++ b/coreutils-DIR_COLORS.lightbgcolor @@ -101,6 +101,7 @@ EXEC 00;32 .Z 00;31 .dz 00;31 .gz 00;31 +.lz 00;31 .xz 00;31 .bz2 00;31 .tbz 00;31 diff --git a/coreutils.spec b/coreutils.spec index 90eadd4..c6d1046 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: 7.6 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Group: System Environment/Base Url: http://www.gnu.org/software/coreutils/ @@ -19,6 +19,7 @@ Source203: coreutils-runuser-l.pamd # From upstream Patch1: coreutils-cpxattrreadonly.patch +Patch2: coreutils-lzipcolor.patch # Our patches Patch100: coreutils-6.10-configuration.patch @@ -109,6 +110,7 @@ Libraries for coreutils package. # From upstream %patch1 -p1 -b .roxattr +%patch2 -p1 -b .lzip # Our patches %patch100 -p1 -b .configure @@ -327,6 +329,9 @@ fi %{_libdir}/coreutils %changelog +* Mon Sep 21 2009 Ondrej Vasik - 7.6-4 +- add dircolors color for GNU lzip (#516897) + * Fri Sep 18 2009 Ondrej Vasik - 7.6-3 - fixed typo in DIR_COLORS.256color causing no color for multihardlink