[packages/festival] Cleanup after patching to avoid installing .orig backups
baggins
baggins at pld-linux.org
Tue Jul 17 22:25:30 CEST 2012
commit 35eda2a17fd79fd8ea4d8b07242d7a0b842b9121
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jul 17 22:25:05 2012 +0200
Cleanup after patching to avoid installing .orig backups
festival.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/festival.spec b/festival.spec
index bc1179d..7432b16 100644
--- a/festival.spec
+++ b/festival.spec
@@ -89,6 +89,9 @@ Pliki potrzebne do użycia głosu en1 z pakietu mbrola.
ln -s %{_libdir}/speech_tools/base_class src/modules/MultiSyn
ln -s %{_libdir}/speech_tools/config/modules/pulse_audio.mak config/modules
+# cleanup backups after patching
+find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
%build
cp -f /usr/share/automake/config.* .
%{__perl} -pi -e 's,^EST=.*,EST=%{_libdir}/speech_tools,' config/config.in
More information about the pld-cvs-commit
mailing list