SPECS: mplay.spec - simplify (use sed -i)

darekr darekr at pld-linux.org
Fri Apr 13 16:23:35 CEST 2007


Author: darekr                       Date: Fri Apr 13 14:23:35 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- simplify (use sed -i)

---- Files affected:
SPECS:
   mplay.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/mplay.spec
diff -u SPECS/mplay.spec:1.22 SPECS/mplay.spec:1.23
--- SPECS/mplay.spec:1.22	Tue Feb 13 08:16:48 2007
+++ SPECS/mplay.spec	Fri Apr 13 16:23:30 2007
@@ -42,8 +42,7 @@
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_mandir}/man1}
 
-sed -e "s#/local/share/#/share/#g" mplay > mplay.tmp
-mv -f mplay.tmp mplay
+sed -i "s#/local/share/#/share/#g" mplay
 
 install mplay $RPM_BUILD_ROOT%{_bindir}
 install help/help_* $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -68,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2007/04/13 14:23:30  darekr
+- simplify (use sed -i)
+
 Revision 1.22  2007/02/13 07:16:48  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mplay.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list