diff --git sphinxtrain/sphinxtrain.spec sphinxtrain/sphinxtrain.spec.tmp index d3baa144dd..3b9527cef2 100644 --- sphinxtrain/sphinxtrain.spec +++ sphinxtrain/sphinxtrain.spec.tmp @@ -3,7 +3,7 @@ Name: sphinxtrain Version: 1.0.8 -Release: 37%{?dist} +Release: 38%{?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 +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.8-38 +- Python 2 binary package renamed to python2-sphinxtrain + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.8-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild