Accepting request 561629 from home:kstreitova:branches:Base:System
- add gzip-1.8-deprecate_netstat.patch to get rid off deprecated 'netstat -n' command in tests/init.sh script OBS-URL: https://build.opensuse.org/request/show/561629 OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=56
This commit is contained in:
parent
29bc097dd1
commit
d38811f326
13
gzip-1.8-deprecate_netstat.patch
Normal file
13
gzip-1.8-deprecate_netstat.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: gzip-1.8/tests/init.sh
|
||||
===================================================================
|
||||
--- gzip-1.8.orig/tests/init.sh
|
||||
+++ gzip-1.8/tests/init.sh
|
||||
@@ -525,7 +525,7 @@ rand_bytes_ ()
|
||||
fi
|
||||
|
||||
n_plus_50_=`expr $n_ + 50`
|
||||
- cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef; netstat -n'
|
||||
+ cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef'
|
||||
data_=` (eval "$cmds_") 2>&1 | gzip `
|
||||
|
||||
# Ensure that $data_ has length at least 50+$n_
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 2 14:30:50 UTC 2018 - kstreitova@suse.com
|
||||
|
||||
- add gzip-1.8-deprecate_netstat.patch to get rid off deprecated
|
||||
'netstat -n' command in tests/init.sh script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 1 16:38:19 UTC 2017 - kstreitova@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gzip
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -35,6 +35,8 @@ Patch6: zdiff.diff
|
||||
Patch7: xz_lzma.patch
|
||||
Patch8: manpage-no-date.patch
|
||||
Patch9: gzip-1.8-fix_unpack_EOB_check.patch
|
||||
# PATCH-FIX-UPSTREAM kstreitova@suse.com -- remove deprecated 'netstat' command
|
||||
Patch10: gzip-1.8-deprecate_netstat.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: makeinfo
|
||||
@ -58,6 +60,7 @@ times.
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fomit-frame-pointer \
|
||||
|
Loading…
Reference in New Issue
Block a user