diff --git a/sphinxbase.spec b/sphinxbase.spec index 336e522..080d0a7 100644 --- a/sphinxbase.spec +++ b/sphinxbase.spec @@ -1,6 +1,6 @@ Name: sphinxbase Version: 0.8 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Common library for CMU Sphinx voice recognition products License: BSD @@ -19,10 +19,10 @@ BuildRequires: doxygen-latex BuildRequires: gcc-c++ BuildRequires: ghostscript-core BuildRequires: libtool +BuildRequires: openblas-devel BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(Pod::Usage) -BuildRequires: pkgconfig(atlas) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sndfile) @@ -62,10 +62,10 @@ Python 2 interface to sphinxbase. %patch1 %patch2 -# Use atlas instead of the blas reference implementation -sed -ri 's/blas|lapack/satlas/' configure.in +# Use openblas instead of the blas reference implementation +sed -ri 's/blas|lapack/openblas/' configure.in -# Regenerate the configure files due to changes in patch 0 and the atlas change +# Regenerate configure files due to changes in patch 0 and the openblas change autoreconf -fi # Fix encoding @@ -89,8 +89,7 @@ for f in src/sphinx_lmtools/sphinx_lm_sort src/sphinx_jsgf2fsg/fsg2dot.pl \ done %build -export CPPFLAGS="-I %{_includedir}/atlas" -export LDFLAGS="$RPM_LD_FLAGS -L%{_libdir}/atlas" +export CPPFLAGS="-I %{_includedir}/openblas" %configure --disable-static --disable-rpath # Get rid of undesirable hardcoded rpaths; workaround libtool reordering @@ -158,6 +157,9 @@ chmod 0755 %{buildroot}%{python2_sitearch}/%{name}.so %{python2_sitearch}/* %changelog +* Wed Aug 16 2017 Jerry James - 0.8-16 +- Link with openblas instead of atlas + * Thu Aug 03 2017 Fedora Release Engineering - 0.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild