SPECS: oaf.spec - use sed'ing in place instead of temp. file

twittner twittner at pld-linux.org
Tue Jul 10 21:13:09 CEST 2007


Author: twittner                     Date: Tue Jul 10 19:13:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use sed'ing in place instead of temp. file

---- Files affected:
SPECS:
   oaf.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/oaf.spec
diff -u SPECS/oaf.spec:1.63 SPECS/oaf.spec:1.64
--- SPECS/oaf.spec:1.63	Tue Feb 13 08:16:50 2007
+++ SPECS/oaf.spec	Tue Jul 10 21:13:04 2007
@@ -27,6 +27,7 @@
 BuildRequires:	libwrap-devel
 BuildRequires:	libxml-devel
 BuildRequires:	popt-devel >= 1.5
+BuildRequires:	sed >= 4.0
 Requires(post,postun):	/sbin/ldconfig
 Requires(post,postun):	scrollkeeper
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -112,8 +113,7 @@
 mv -f po/{no,nb}.po
 
 %build
-sed -e s/AM_GNU_OAF_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
-mv -f configure.in.tmp configure.in
+sed -i s/AM_GNU_OAF_GETTEXT/AM_GNU_GETTEXT/ configure.in
 xml-i18n-toolize --copy --force
 %{__libtoolize}
 %{__gettextize}
@@ -178,6 +178,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.64  2007/07/10 19:13:04  twittner
+- use sed'ing in place instead of temp. file
+
 Revision 1.63  2007/02/13 07:16:50  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/oaf.spec?r1=1.63&r2=1.64&f=u



More information about the pld-cvs-commit mailing list