diff --git python-nltk/python-nltk.spec python-nltk/python-nltk.spec.tmp index e5bf58b384..23c0b94189 100644 --- python-nltk/python-nltk.spec +++ python-nltk/python-nltk.spec.tmp @@ -2,7 +2,7 @@ Name: python-nltk Epoch: 1 Version: 3.0.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Natural Language Toolkit Group: Development/Libraries @@ -15,16 +15,24 @@ BuildArch: noarch BuildRequires: python2-devel >= 2.5 BuildRequires: python-setuptools + +%global _description\ +NLTK is a Python package that simplifies the construction of programs\ +that process natural language; and defines standard interfaces between\ +the different components of an NLP system. It was designed primarily\ +to help teach graduate and undergraduate students about computational\ +linguistics; but it is also useful as a framework for implementing\ +research projects. + +%description %_description + +%package -n python2-%{mod_name} +Summary: %summary Requires: PyYAML >= 3.09 Requires: numpy python-matplotlib tkinter +%{?python_provide:%python_provide python2-%{mod_name}} -%description -NLTK is a Python package that simplifies the construction of programs -that process natural language; and defines standard interfaces between -the different components of an NLP system. It was designed primarily -to help teach graduate and undergraduate students about computational -linguistics; but it is also useful as a framework for implementing -research projects. +%description -n python2-%{mod_name} %_description %package -n python3-%{mod_name} Summary: Natural Language Toolkit (Python 3) @@ -66,7 +74,7 @@ sed -i -e '/^#! *\//, 1d' %{mod_name}/corpus/reader/knbc.py \ #%%{__python3} %%{mod_name}/test/runtests.py -%files +%files -n python2-%{mod_name} %doc LICENSE.txt README.txt %{python_sitelib}/%{mod_name} %{python_sitelib}/%{mod_name}-*.egg-info @@ -78,6 +86,10 @@ sed -i -e '/^#! *\//, 1d' %{mod_name}/corpus/reader/knbc.py \ %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1:3.0.3-9 +- Python 2 binary package renamed to python2-nltk + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1:3.0.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild