packages: speech_tools/speech_tools.spec - use sed and rm macros

lisu lisu at pld-linux.org
Wed Feb 1 12:04:23 CET 2012


Author: lisu                         Date: Wed Feb  1 11:04:23 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use sed and rm macros

---- Files affected:
packages/speech_tools:
   speech_tools.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: packages/speech_tools/speech_tools.spec
diff -u packages/speech_tools/speech_tools.spec:1.58 packages/speech_tools/speech_tools.spec:1.59
--- packages/speech_tools/speech_tools.spec:1.58	Wed Feb  1 12:01:12 2012
+++ packages/speech_tools/speech_tools.spec	Wed Feb  1 12:04:18 2012
@@ -85,8 +85,8 @@
 %patch6 -p1
 %if "%{_lib}" == "lib64"
 # fix regression output for 64-bit archs (sizeof(ptr)==8 instead of 4).
-sed -i 's:20 bytes:24 bytes:' testsuite/correct/matrix_regression.out
-sed -i 's:28 bytes:32 bytes:' testsuite/correct/matrix_regression.out
+%{__sed} -i 's:20 bytes:24 bytes:' testsuite/correct/matrix_regression.out
+%{__sed} -i 's:28 bytes:32 bytes:' testsuite/correct/matrix_regression.out
 %endif
 
 %build
@@ -146,7 +146,7 @@
 # more shit
 cp -r config $RPM_BUILD_ROOT%{_libdir}/%{name}
 cp -r testsuite $RPM_BUILD_ROOT%{_libdir}/%{name}
-rm $RPM_BUILD_ROOT%{_libdir}/%{name}/testsuite/*.o
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/testsuite/*.o
 install siod/siod.mak $RPM_BUILD_ROOT%{_libdir}/%{name}/siod
 install lib/siod/*.scm $RPM_BUILD_ROOT%{_libdir}/%{name}/siod
 install stats/ols.mak $RPM_BUILD_ROOT%{_libdir}/%{name}/stats
@@ -186,6 +186,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2012/02/01 11:04:18  lisu
+- use sed and rm macros
+
 Revision 1.58  2012/02/01 11:01:12  lisu
 - drop obsoleted termcap.patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/speech_tools/speech_tools.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list