This commit is contained in:
parent
177644aa74
commit
2e54e398f9
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d185067bf198bc6213402a76b95fbffe9772a592b006f58bf8b89b4b5511cd56
|
|
||||||
size 431721
|
|
3
gzip-1.3.12.tar.gz
Normal file
3
gzip-1.3.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3f565be05f7f3d1aff117c030eb7c738300510b7d098cedea796ca8e4cd587af
|
||||||
|
size 462169
|
@ -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
|
Tue Mar 27 13:50:42 CEST 2007 - dmueller@suse.de
|
||||||
|
|
||||||
|
14
gzip.spec
14
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.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -16,8 +16,8 @@ License: GNU General Public License (GPL)
|
|||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
Version: 1.3.11
|
Version: 1.3.12
|
||||||
Release: 8
|
Release: 1
|
||||||
Summary: GNU Zip Compression Utilities
|
Summary: GNU Zip Compression Utilities
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Patch: zgrep.diff
|
Patch: zgrep.diff
|
||||||
@ -40,7 +40,6 @@ Authors:
|
|||||||
Jean-loup Gailly <gzip@prep.ai.mit.edu>
|
Jean-loup Gailly <gzip@prep.ai.mit.edu>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{suse_update_config -f}
|
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch
|
||||||
%patch1
|
%patch1
|
||||||
@ -68,10 +67,10 @@ test_gzip()
|
|||||||
profile_gzip()
|
profile_gzip()
|
||||||
{
|
{
|
||||||
tmpfile=$(mktemp)
|
tmpfile=$(mktemp)
|
||||||
tar cf $tmpfile /usr || true
|
trap "rm -f $tmpfile $tmpfile.gz" EXIT
|
||||||
|
tar -cf $tmpfile /usr || true
|
||||||
time ./gzip $tmpfile
|
time ./gzip $tmpfile
|
||||||
time ./gzip -d < $tmpfile.gz > /dev/null
|
time ./gzip -d < $tmpfile.gz > /dev/null
|
||||||
rm -f $tmpfile $tmpfile.gz
|
|
||||||
}
|
}
|
||||||
%if %{do_profiling}
|
%if %{do_profiling}
|
||||||
make CFLAGS="$CFLAGS -fprofile-generate"
|
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
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Mar 27 2007 - dmueller@suse.de
|
||||||
- reenable profile feedback
|
- reenable profile feedback
|
||||||
- remove hardcoded -mcpu=pentiumpro for x86
|
- remove hardcoded -mcpu=pentiumpro for x86
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# block is the disk block size (best guess, need not be exact)
|
# block is the disk block size (best guess, need not be exact)
|
||||||
|
|
||||||
warn="(does not preserve modes and timestamp)"
|
warn="(does not preserve modes and timestamp)"
|
||||||
-tmp=/tmp/zfoo.$$
|
-tmp=${TMPDIR-/tmp}/zfoo.$$
|
||||||
-set -C
|
-set -C
|
||||||
+dtmp=`mktemp -d -t znew.XXXXXXXX` || exit
|
+dtmp=`mktemp -d -t znew.XXXXXXXX` || exit
|
||||||
+trap 'rm -rf $dtmp' HUP INT PIPE TERM 0
|
+trap 'rm -rf $dtmp' HUP INT PIPE TERM 0
|
||||||
|
Loading…
Reference in New Issue
Block a user