Accepting request 178436 from home:jengelh:branches:Base:System

- Update to new upstream release 1.6

OBS-URL: https://build.opensuse.org/request/show/178436
OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=27
This commit is contained in:
2013-06-11 12:44:23 +00:00
committed by Git OBS Bridge
parent 029ff98bb9
commit aff01339ae
7 changed files with 138 additions and 29 deletions

View File

@@ -18,13 +18,15 @@
Name: gzip
Url: http://www.gzip.org/
PreReq: %{install_info_prereq} update-alternatives
Version: 1.5
Version: 1.6
Release: 0
Summary: GNU Zip Compression Utilities
License: GPL-2.0+
Group: Productivity/Archiving/Compression
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
Source3: %name.keyring
Patch: zgrep.diff
Patch1: tempfile.diff
Patch2: zmore.diff
@@ -34,6 +36,9 @@ Patch6: zdiff.diff
# PATCH FIX OPENSUSE BNC#799561 - zgrep silently fails on LZMA compressed files
Patch7: xz_lzma.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: makeinfo
BuildRequires: xz
PreReq: %{install_info_prereq} update-alternatives
%description
Gzip reduces the size of the named files using Lempel-Ziv coding LZ77.
@@ -42,10 +47,11 @@ while keeping the same ownership modes and access and modification
times.
%prep
%{?gpg_verify: %gpg_verify %{S:2}}
%setup -q
%patch
%patch1
%patch2
%patch -P 2 -p1
%patch3
%patch4 -p1
%patch6
@@ -84,6 +90,7 @@ for i in 1 2 3 4 5 6 7 8 9; do
done
%install
make install DESTDIR="%buildroot"
%makeinstall
#UsrMerge
mkdir -p $RPM_BUILD_ROOT/bin