From 2e54e398f95d77bd711024a2254454f9f7fd044bb28221adb6a241e1252b107f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 15 Apr 2007 08:49:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gzip?expand=0&rev=5 --- gzip-1.3.11.tar.gz | 3 --- gzip-1.3.12.tar.gz | 3 +++ gzip.changes | 6 ++++++ gzip.spec | 14 ++++++++------ tempfile.diff | 2 +- 5 files changed, 18 insertions(+), 10 deletions(-) delete mode 100644 gzip-1.3.11.tar.gz create mode 100644 gzip-1.3.12.tar.gz diff --git a/gzip-1.3.11.tar.gz b/gzip-1.3.11.tar.gz deleted file mode 100644 index 1e8d2c8..0000000 --- a/gzip-1.3.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d185067bf198bc6213402a76b95fbffe9772a592b006f58bf8b89b4b5511cd56 -size 431721 diff --git a/gzip-1.3.12.tar.gz b/gzip-1.3.12.tar.gz new file mode 100644 index 0000000..4875850 --- /dev/null +++ b/gzip-1.3.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f565be05f7f3d1aff117c030eb7c738300510b7d098cedea796ca8e4cd587af +size 462169 diff --git a/gzip.changes b/gzip.changes index 2bf2e6e..1571b5e 100644 --- a/gzip.changes +++ b/gzip.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Apr 15 00:03:31 CEST 2007 - schwab@suse.de + +- Update to gzip 1.3.12. + * znew now uses $TMPDIR (default /tmp) instead of always using /tmp. + ------------------------------------------------------------------- Tue Mar 27 13:50:42 CEST 2007 - dmueller@suse.de diff --git a/gzip.spec b/gzip.spec index 6af1445..a6c1d96 100644 --- a/gzip.spec +++ b/gzip.spec @@ -1,5 +1,5 @@ # -# spec file for package gzip (Version 1.3.11) +# spec file for package gzip (Version 1.3.12) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -16,8 +16,8 @@ License: GNU General Public License (GPL) Group: Productivity/Archiving/Compression Autoreqprov: on PreReq: %{install_info_prereq} -Version: 1.3.11 -Release: 8 +Version: 1.3.12 +Release: 1 Summary: GNU Zip Compression Utilities Source: %{name}-%{version}.tar.gz Patch: zgrep.diff @@ -40,7 +40,6 @@ Authors: Jean-loup Gailly %prep -%{suse_update_config -f} %setup -q %patch %patch1 @@ -68,10 +67,10 @@ test_gzip() profile_gzip() { tmpfile=$(mktemp) - tar cf $tmpfile /usr || true + trap "rm -f $tmpfile $tmpfile.gz" EXIT + tar -cf $tmpfile /usr || true time ./gzip $tmpfile time ./gzip -d < $tmpfile.gz > /dev/null - rm -f $tmpfile $tmpfile.gz } %if %{do_profiling} make CFLAGS="$CFLAGS -fprofile-generate" @@ -106,6 +105,9 @@ ln -sf zmore.1 $RPM_BUILD_ROOT%{_mandir}/man1/zless.1 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %changelog +* Sun Apr 15 2007 - schwab@suse.de +- Update to gzip 1.3.12. + * znew now uses $TMPDIR (default /tmp) instead of always using /tmp. * Tue Mar 27 2007 - dmueller@suse.de - reenable profile feedback - remove hardcoded -mcpu=pentiumpro for x86 diff --git a/tempfile.diff b/tempfile.diff index 1b7b375..83bc2e9 100644 --- a/tempfile.diff +++ b/tempfile.diff @@ -4,7 +4,7 @@ # 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 +dtmp=`mktemp -d -t znew.XXXXXXXX` || exit +trap 'rm -rf $dtmp' HUP INT PIPE TERM 0