packages: crafty/crafty.spec - use sed instead of perl (not part of minimal...

sparky sparky at pld-linux.org
Fri Nov 27 02:30:03 CET 2009


Author: sparky                       Date: Fri Nov 27 01:30:02 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use sed instead of perl (not part of minimal builder chroot)
- BR: sed >= 4.0, unzip

---- Files affected:
packages/crafty:
   crafty.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: packages/crafty/crafty.spec
diff -u packages/crafty/crafty.spec:1.24 packages/crafty/crafty.spec:1.25
--- packages/crafty/crafty.spec:1.24	Sun Nov 18 17:31:07 2007
+++ packages/crafty/crafty.spec	Fri Nov 27 02:29:57 2009
@@ -24,6 +24,8 @@
 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
@@ -52,7 +54,7 @@
 rm -f bitmaps/gifs.tar
 cp %{SOURCE1} %{SOURCE2} .
 
-%{__perl} -pi -e 's at .*machine/builtins.*@@' chess.h
+sed 's at .*machine/builtins.*@@' -i chess.h
 
 %build
 asmobj=""
@@ -135,6 +137,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2009/11/27 01:29:57  sparky
+- use sed instead of perl (not part of minimal builder chroot)
+- BR: sed >= 4.0, unzip
+
 Revision 1.24  2007/11/18 16:31:07  blues
 - rel.1 - put writable files in /var
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crafty/crafty.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list