SPECS: qt4.spec - use sed >= 4.0 inline edit

glen glen at pld-linux.org
Sun Jun 26 00:59:48 CEST 2005


Author: glen                         Date: Sat Jun 25 22:59:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use sed >= 4.0 inline edit

---- Files affected:
SPECS:
   qt4.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.26 SPECS/qt4.spec:1.27
--- SPECS/qt4.spec:1.26	Sun Jun 26 00:55:35 2005
+++ SPECS/qt4.spec	Sun Jun 26 00:59:43 2005
@@ -772,8 +772,7 @@
 
 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
 do
-	sed s:-L$RPM_BUILD_DIR/qt-x11-opensource-desktop-%{version}-rc1/lib::g $f > $f.tmp
-	mv $f.tmp $f
+	sed -i -e s:-L$RPM_BUILD_DIR/qt-x11-opensource-desktop-%{version}-rc1/lib::g $f
 done
 
 # Prepare some files list
@@ -1037,6 +1036,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2005/06/25 22:59:43  glen
+- use sed >= 4.0 inline edit
+
 Revision 1.26  2005/06/25 22:55:35  pascalek
 - remove RPM_BUILD_DIR from pkgconfig files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qt4.spec?r1=1.26&r2=1.27&f=u




More information about the pld-cvs-commit mailing list