From 22bd6d80ee26b0a866405782bc19d60ec2895b0a Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Mon, 4 Jun 2007 07:28:11 +0000 Subject: [PATCH] update to 1.3.12 --- .cvsignore | 2 +- ...patch => gzip-1.3.12-openbsd-owl-tmp.patch | 34 +++++++++---------- gzip.spec | 7 ++-- sources | 2 +- 4 files changed, 24 insertions(+), 21 deletions(-) rename gzip-1.3.9-openbsd-owl-tmp.patch => gzip-1.3.12-openbsd-owl-tmp.patch (72%) diff --git a/.cvsignore b/.cvsignore index 9e2d86a..850d008 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gzip-1.3.11.tar.gz +gzip-1.3.12.tar.gz diff --git a/gzip-1.3.9-openbsd-owl-tmp.patch b/gzip-1.3.12-openbsd-owl-tmp.patch similarity index 72% rename from gzip-1.3.9-openbsd-owl-tmp.patch rename to gzip-1.3.12-openbsd-owl-tmp.patch index c3f8df0..423c667 100644 --- a/gzip-1.3.9-openbsd-owl-tmp.patch +++ b/gzip-1.3.12-openbsd-owl-tmp.patch @@ -1,25 +1,25 @@ ---- gzip-1.3.9/znew.in.owl-tmp 2006-12-09 05:25:56.000000000 +0100 -+++ gzip-1.3.9/znew.in 2007-01-15 11:40:51.000000000 +0100 +--- gzip-1.3.12/znew.in.owl-tmp 2007-06-04 09:15:11.000000000 +0200 ++++ gzip-1.3.12/znew.in 2007-06-04 09:23:18.000000000 +0200 @@ -55,28 +55,27 @@ # block is the disk block size (best guess, need not be exact) warn="(does not preserve modes and timestamp)" --tmp=/tmp/zfoo.$$ +-tmp=${TMPDIR-/tmp}/zfoo.$$ -set -C -echo hi > $tmp || exit -if test -z "`(${CPMOD-cpmod} $tmp $tmp) 2>&1`"; then - cpmod=${CPMOD-cpmod} -+cpmod= -+cpmodarg= -+if type ${CPMOD:-cpmod} 2>/dev/null; then -+ cpmod=${CPMOD:-cpmod} ++cpmod= ++cpmodarg= ++if type ${CPMOD:-cpmod} 2>/dev/null; then ++ cpmod=${CPMOD:-cpmod} warn="" fi -if test -z "$cpmod" && ${TOUCH-touch} -r $tmp $tmp 2>/dev/null; then - cpmod="${TOUCH-touch}" -+if test -z "$cpmod"; then -+ cpmod=touch ++if test -z "$cpmod"; then ++ cpmod=touch cpmodarg="-r" warn="(does not preserve file modes)" fi @@ -32,14 +32,14 @@ - echo znew: error determining gzip extension - exit 1 -fi -+case "$GZIP" in -+ *-S*) ext=`echo "$GZIP" | sed 's/^.*-S[[:space:]]*\([^[:space:]]*\).*$/\1/'` -+ ;; -+ *-suffix*) ext=`echo "$GZIP" | sed 's/^.*--suffix=\([^[:space:]]*\).*$/\1/'` -+ ;; -+ *) ext='.gz' -+ ;; -+esac ++case "$GZIP" in ++ *-S*) ext=`echo "$GZIP" | sed 's/^.*-S[[:space:]]*\([^[:space:]]*\).*$/\1/'` ++ ;; ++ *-suffix*) ext=`echo "$GZIP" | sed 's/^.*--suffix=\([^[:space:]]*\).*$/\1/'` ++ ;; ++ *) ext='.gz' ++ ;; ++esac if test "$ext" = ".Z"; then echo znew: cannot use .Z as gzip extension. exit 1 diff --git a/gzip.spec b/gzip.spec index 532cc6c..d53530c 100644 --- a/gzip.spec +++ b/gzip.spec @@ -1,11 +1,11 @@ Summary: The GNU data compression program Name: gzip -Version: 1.3.11 +Version: 1.3.12 Release: 1%{?dist} License: GPL Group: Applications/File Source: ftp://alpha.gnu.org/gnu/gzip/gzip-%{version}.tar.gz -Patch0: gzip-1.3.9-openbsd-owl-tmp.patch +Patch0: gzip-1.3.12-openbsd-owl-tmp.patch Patch1: gzip-1.3.5-zforce.patch Patch3: gzip-1.3.9-stderr.patch Patch4: gzip-1.3.10-zgreppipe.patch @@ -91,6 +91,9 @@ fi %{_infodir}/gzip.info* %changelog +* Mon Jun 4 2007 Ivana Varekova - 1.3.12-1 +- update to 1.3.12 + * Mon Mar 5 2007 Ivana Varekova - 1.3.11-1 - update to 1.3.11 remove uncompress diff --git a/sources b/sources index e8bdb78..ad4e4be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a41a6a4b11f941cb7fc13df320f3af5f gzip-1.3.11.tar.gz +b5bac2d21840ae077e0217bc5e4845b1 gzip-1.3.12.tar.gz