diff --git python-naftawayh/python-naftawayh.spec python-naftawayh/python-naftawayh.spec.tmp index fac67a154d..939c274ed6 100644 --- python-naftawayh/python-naftawayh.spec +++ python-naftawayh/python-naftawayh.spec.tmp @@ -3,7 +3,7 @@ Name: python-naftawayh Version: 0.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Arabic word tagger Summary(ar): تصنيف الكلمات العربية License: GPLv1 @@ -17,11 +17,19 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -%description -Naftawayh is a python library for Arabic word tagging (word classification) -into types (nouns, verbs, stopwords), which is useful in language processing, -especially for text mining. Naftawayh works according to the Arabic word -structure, and the ability to guess the word class, through certain signs. +%global _description\ +Naftawayh is a python library for Arabic word tagging (word classification)\ +into types (nouns, verbs, stopwords), which is useful in language processing,\ +especially for text mining. Naftawayh works according to the Arabic word\ +structure, and the ability to guess the word class, through certain signs. + +%description %_description + +%package -n python2-naftawayh +Summary: %summary +%{?python_provide:%python_provide python2-naftawayh} + +%description -n python2-naftawayh %_description %description -l ar نفطويه هو برنامج ومكتبة لتصنيف الكلمات إلى أنواعها (اسم، فعل، حرف)، ويفيد @@ -46,12 +54,16 @@ cp -p %{SOURCE2} ./PKG-INFO %install %{__python2} setup.py install --skip-build --root=%{buildroot} -%files +%files -n python2-naftawayh %doc PKG-INFO gpl-1.0.txt %{python2_sitelib}/%{modname}/ %{python2_sitelib}/%{distname}-%{version}-py2.*.egg-info %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.2-10 +- Python 2 binary package renamed to python2-naftawayh + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild