]> git.pld-linux.org Git - packages/speech_tools.git/commitdiff
- use sed and rm macros
authorlisu <lisu@pld-linux.org>
Wed, 1 Feb 2012 11:04:18 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    speech_tools.spec -> 1.59

speech_tools.spec

index ea17dd14c2dbd7686842eb3ba303f07e940d187f..2cd2a4f77454838217f817cea5a46f1ecaa28821 100644 (file)
@@ -84,8 +84,8 @@ Programy użytkowe narzędzi mowy Edinburgh.
 %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
@@ -145,7 +145,7 @@ rm $RPM_BUILD_ROOT%{_datadir}/%{name}/example_data/Makefile
 # 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
This page took 0.106757 seconds and 4 git commands to generate.