Hello community,

here is the log from the commit of package gzip for openSUSE:12.3 checked in at 
2013-02-01 15:48:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/gzip (Old)
 and      /work/SRC/openSUSE:12.3/.gzip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gzip", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:12.3/gzip/gzip.changes   2013-01-31 01:19:33.000000000 
+0100
+++ /work/SRC/openSUSE:12.3/.gzip.new/gzip.changes      2013-02-01 
15:48:26.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Jan 29 12:28:39 UTC 2013 - [email protected]
+
+- Add support for xz and lzma (bnc#799561 - zgrep silently fails on
+  LZMA compressed files) - xz_lzma.patch
+
+-------------------------------------------------------------------

New:
----
  xz_lzma.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gzip.spec ++++++
--- /var/tmp/diff_new_pack.VNasAZ/_old  2013-02-01 15:48:26.000000000 +0100
+++ /var/tmp/diff_new_pack.VNasAZ/_new  2013-02-01 15:48:26.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gzip
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,8 @@
 Patch3:         non-exec-stack.diff
 Patch4:         
http://rsync.samba.org/ftp/unpacked/rsync/patches/gzip-rsyncable.diff
 Patch6:         zdiff.diff
+# PATCH FIX OPENSUSE BNC#799561 - zgrep silently fails on LZMA compressed files
+Patch7:         xz_lzma.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -47,6 +49,7 @@
 %patch3
 %patch4 -p1
 %patch6
+%patch7 -p1
 
 %build
 CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer \

++++++ xz_lzma.patch ++++++
Index: gzip-1.5/zgrep.1
===================================================================
--- gzip-1.5.orig/zgrep.1
+++ gzip-1.5/zgrep.1
@@ -10,7 +10,7 @@ zgrep \- search possibly compressed file
 .I Zgrep
 invokes
 .I grep
-on compressed or gzipped files.
+on compressed, xz'ed, lzma'ed, bzip2'ed or gzipped files.
 All options specified are passed directly to
 .IR grep .
 If no file is specified, then the standard input is decompressed
Index: gzip-1.5/zgrep.in
===================================================================
--- gzip-1.5.orig/zgrep.in
+++ gzip-1.5/zgrep.in
@@ -178,6 +178,12 @@ do
     *.bz2)
       uncompress=bzip2
       ;;
+       *.xz)
+      uncompress=xz
+      ;;
+    *.lzma)
+      uncompress=lzma
+      ;;
     *)
       uncompress=gzip
       ;;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to