Browse Source

remove dependency to gzip and instead of the bootstrap gzip

master
parent
commit
26aa8514c8
  1. 8
      ncurses/ncurses.spec

8
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 ;;
* )

Loading…
Cancel
Save