]> git.pld-linux.org Git - packages/crafty.git/commitdiff
- use sed instead of perl (not part of minimal builder chroot)
authorsparky <sparky@pld-linux.org>
Fri, 27 Nov 2009 01:29:57 +0000 (01:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR: sed >= 4.0, unzip

Changed files:
    crafty.spec -> 1.25

crafty.spec

index 733ee7cdee26297fe1a8b586f3ab6ed121536083..57b68fadbf5b8536ffb8c18ad337303a193b3a4e 100644 (file)
@@ -23,6 +23,8 @@ Patch1:               %{name}-Makefile.patch
 Patch2:                %{name}-MDK.patch
 URL:           http://www.limunltd.com/crafty/
 BuildRequires: libstdc++-devel
+BuildRequires: sed >= 4.0
+BuildRequires: unzip
 Provides:      chessprogram
 Provides:      chess_backend
 Suggests:      xboard
@@ -51,7 +53,7 @@ mv bitmaps/README.bitmaps .
 rm -f bitmaps/gifs.tar
 cp %{SOURCE1} %{SOURCE2} .
 
-%{__perl} -pi -e 's@.*machine/builtins.*@@' chess.h
+sed 's@.*machine/builtins.*@@' -i chess.h
 
 %build
 asmobj=""
This page took 0.086209 seconds and 4 git commands to generate.