From 26aa8514c8164d3c4fbc009565e82263a3c7e28c Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 15 Jul 2006 07:53:01 +0000 Subject: [PATCH] remove dependency to gzip and instead of the bootstrap gzip --- ncurses/ncurses.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ncurses/ncurses.spec b/ncurses/ncurses.spec index 4968574508..8c4ec36237 100644 --- a/ncurses/ncurses.spec +++ b/ncurses/ncurses.spec @@ -61,7 +61,7 @@ Class: BASE Group: Terminal License: GPL Version: %{V_base}.%{V_patchL} -Release: 20060713 +Release: 20060715 # list of sources Source0: ftp://invisible-island.net/ncurses/ncurses-%{V_base}.tar.gz @@ -92,7 +92,7 @@ Patch100: ncurses.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130, sharutils, gzip +BuildPreReq: OpenPKG, openpkg >= 20040130, sharutils PreReq: OpenPKG, openpkg >= 20040130 AutoReq: no AutoReqProv: no @@ -137,8 +137,8 @@ AutoReqProv: no %{expand:%(i=1; while [ $i -le %{V_patches} ]; do %{l_shtool} echo -n " %%{PATCH$i}"; i=`expr $i + 1`; done)} do case "$patchfile" in - *.sh.bz2 ) %{l_bzip2} -d -c $patchfile | sed -e 's;patch -p1;%{l_patch} -p1;' | sh - || true ;; - *.sh.gz ) %{l_gzip} -d -c $patchfile | sed -e 's;patch -p1;%{l_patch} -p1;' | sh - || true ;; + *.sh.bz2 ) %{l_bzip2} -d -c $patchfile | sed -e 's;gzip -dc;%{l_gzip} -dc;' -e 's;patch -p1;%{l_patch} -p1;' | sh - || true ;; + *.sh.gz ) %{l_gzip} -d -c $patchfile | sed -e 's;gzip -dc;%{l_gzip} -dc;' -e 's;patch -p1;%{l_patch} -p1;' | sh - || true ;; *.patch.bz2 ) %{l_bzip2} -d -c $patchfile | %{l_patch} -p1 || true ;; *.patch.gz ) %{l_gzip} -d -c $patchfile | %{l_patch} -p1 || true ;; * )