- Add support for xz and lzma (bnc#799561 - zgrep silently fails on

LZMA compressed files)

OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=22
This commit is contained in:
Wojtek Dziewięcki
2013-01-31 16:49:11 +00:00
committed by Git OBS Bridge
parent aa667cf72c
commit f911255567
3 changed files with 40 additions and 1 deletions

View File

@@ -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 @@ Patch2: zmore.diff
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 @@ times.
%patch3
%patch4 -p1
%patch6
%patch7 -p1
%build
CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer \