rpms/gzip/devel gzip-1.3.12-openbsd-owl-tmp.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 gzip.spec, 1.36, 1.37 sources, 1.8, 1.9 gzip-1.3.9-openbsd-owl-tmp.patch, 1.2, NONE

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Mon Jun 4 07:28:47 UTC 2007


Author: varekova

Update of /cvs/pkgs/rpms/gzip/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13059

Modified Files:
	.cvsignore gzip.spec sources 
Added Files:
	gzip-1.3.12-openbsd-owl-tmp.patch 
Removed Files:
	gzip-1.3.9-openbsd-owl-tmp.patch 
Log Message:
update to 1.3.12


gzip-1.3.12-openbsd-owl-tmp.patch:

--- NEW FILE gzip-1.3.12-openbsd-owl-tmp.patch ---
--- 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=${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} 
   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 
   cpmodarg="-r"
   warn="(does not preserve file modes)"
 fi
 
-# check if GZIP env. variable uses -S or --suffix
-gzip -q $tmp
-ext=`echo $tmp* | sed "s|$tmp||"`
-rm -f $tmp*
-if test -z "$ext"; then
-  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  
 if test "$ext" = ".Z"; then
   echo znew: cannot use .Z as gzip extension.
   exit 1


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gzip/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore	5 Mar 2007 12:23:09 -0000	1.8
+++ .cvsignore	4 Jun 2007 07:28:11 -0000	1.9
@@ -1 +1 @@
-gzip-1.3.11.tar.gz
+gzip-1.3.12.tar.gz


Index: gzip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gzip/devel/gzip.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- gzip.spec	5 Mar 2007 12:23:09 -0000	1.36
+++ gzip.spec	4 Jun 2007 07:28:11 -0000	1.37
@@ -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 @@
 %{_infodir}/gzip.info*
 
 %changelog
+* Mon Jun  4 2007 Ivana Varekova <varekova at redhat.com> - 1.3.12-1
+- update to 1.3.12
+
 * Mon Mar  5 2007 Ivana Varekova <varekova at redhat.com> - 1.3.11-1
 - update to 1.3.11
   remove uncompress


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gzip/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources	5 Mar 2007 12:23:09 -0000	1.8
+++ sources	4 Jun 2007 07:28:11 -0000	1.9
@@ -1 +1 @@
-a41a6a4b11f941cb7fc13df320f3af5f  gzip-1.3.11.tar.gz
+b5bac2d21840ae077e0217bc5e4845b1  gzip-1.3.12.tar.gz


--- gzip-1.3.9-openbsd-owl-tmp.patch DELETED ---




More information about the fedora-extras-commits mailing list