SPECS: quake2.spec - use sed 4.0

glen glen at pld-linux.org
Mon May 22 00:02:53 CEST 2006


Author: glen                         Date: Sun May 21 22:02:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use sed 4.0

---- Files affected:
SPECS:
   quake2.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/quake2.spec
diff -u SPECS/quake2.spec:1.57 SPECS/quake2.spec:1.58
--- SPECS/quake2.spec:1.57	Tue Mar 14 00:47:11 2006
+++ SPECS/quake2.spec	Mon May 22 00:02:47 2006
@@ -31,6 +31,7 @@
 BuildRequires:	libltdl-devel
 BuildRequires:	libtool
 BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	sed >= 4.0
 BuildRequires:	svgalib-devel
 BuildRequires:	unzip
 Requires:	%{name}-renderer
@@ -219,12 +220,8 @@
 %patch0
 %patch1 -p1
 
-cat Makefile.am |sed -e 's/libltdl//'>Makefile.am.tmp
-mv -f Makefile.am.tmp Makefile.am
-
-cat configure.in |sed -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' \
->configure.in.tmp
-mv -f configure.in.tmp configure.in
+%{__sed} -i -e 's/libltdl//' Makefile.am
+%{__sed} -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.in
 
 %build
 %{__aclocal}
@@ -368,6 +365,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2006/05/21 22:02:47  glen
+- use sed 4.0
+
 Revision 1.57  2006/03/13 23:47:11  glen
 - remove unpackaged files
 - unbreak re-entrant %install
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/quake2.spec?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list