[sphinxtrain] Rebuild for openfst 1.4.1 and opengrm-ngram 1.2.1.
Jerry James
jjames at fedoraproject.org
Thu May 1 20:21:04 UTC 2014
commit 4819fefe91c809f57d145b7116264ea5021a1e75
Author: Jerry James <jamesjer at betterlinux.com>
Date: Thu May 1 14:21:18 2014 -0600
Rebuild for openfst 1.4.1 and opengrm-ngram 1.2.1.
sphinxtrain.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/sphinxtrain.spec b/sphinxtrain.spec
index 838a0f1..7b4707e 100644
--- a/sphinxtrain.spec
+++ b/sphinxtrain.spec
@@ -3,7 +3,7 @@
Name: sphinxtrain
Version: 1.0.8
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Acoustic model trainer for CMU's Sphinx tools
Group: Applications/Multimedia
@@ -110,9 +110,12 @@ autoreconf -fi
%build
# The configure script only turns PIC on for x86_64
-%ifnarch x86_64
+%ifarch x86_64
+export CFLAGS="%{optflags}"
+%else
export CFLAGS="%{optflags} -fPIC -DPIC"
%endif
+export CXXFLAGS="$CFLAGS -std=c++11"
%configure --enable-g2p-decoder
@@ -163,6 +166,9 @@ find %{buildroot}%{_libdir}/%{name}/scripts/lib -name \*.pm -o -name \*.txt | \
%{python_sitearch}/cmusphinx/
%changelog
+* Thu May 1 2014 Jerry James <loganjerry at gmail.com> - 1.0.8-12
+- Rebuild for openfst 1.4.1 and opengrm-ngram 1.2.1
+
* Tue Feb 4 2014 Jerry James <loganjerry at gmail.com> - 1.0.8-11
- Add openfst-tools and sphinxbase Requires
More information about the scm-commits
mailing list