diff --git a/sphinxtrain.spec b/sphinxtrain.spec index ce302c5495..2deb9b1fe3 100644 --- a/sphinxtrain.spec +++ b/sphinxtrain.spec @@ -3,7 +3,7 @@ Name: sphinxtrain Version: 1.0.8 -Release: 38%{?dist} +Release: 39%{?dist} Summary: Acoustic model trainer for CMU's Sphinx tools License: BSD @@ -52,12 +52,13 @@ SphinxTrain is Carnegie Mellon University's open source acoustic model trainer. It contains the scripts and instructions necessary for building models for the CMU Sphinx Recognizer. -%package -n python-%{name} +%package -n python2-%{name} +%{?python_provide:%python_provide python2-%{name}} Summary: Python interface to SphinxTrain Requires: %{name}%{?_isa} = %{version}-%{release} Requires: sphinxbase-python%{?_isa}, python2-scipy%{?_isa} -%description -n python-%{name} +%description -n python2-%{name} Python interface to SphinxTrain. %prep @@ -164,11 +165,15 @@ find %{buildroot}%{_libdir}/%{name}/scripts/lib -name \*.pm -o -name \*.txt | \ %{_libdir}/%{name}/ %exclude %{python2_sitearch}/* -%files -n python-%{name} +%files -n python2-%{name} %{python2_sitearch}/SphinxTrain*.egg-info %{python2_sitearch}/cmusphinx/ %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.0.8-39 +- Python 2 binary package renamed to python2-sphinxtrain + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Mon Aug 14 2017 Jerry James - 1.0.8-38 - Rebuild for openfst 1.6.3