diff --git a/python-tashaphyne.spec b/python-tashaphyne.spec index c16cc8b7e6..65e23d2d73 100644 --- a/python-tashaphyne.spec +++ b/python-tashaphyne.spec @@ -3,7 +3,7 @@ Name: python-%{modname} Version: 0.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Arabic Light Stemmer and segmenter Summary(ar): مقطّع خفيف في العربية Group: Applications/Publishing @@ -14,12 +14,23 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -%description +%global _description\ Arabic language text Stemmer and segmenter to be used by Python. -%description -l ar +%global _description_ar\ أداة تقطيع في اللّغة العربية للاستخدام ضمن بيئة بيثون. +%description %_description +%description -l ar %_description_ar + +%package -n python2-%{modname} +Summary: Arabic Light Stemmer and segmenter +Summary(ar): مقطّع خفيف في العربية +%{?python_provide:%python_provide python2-%{modname}} + +%description -n python2-%{modname} %_description +%description -n python2-%{modname} -l ar %_description_ar + %prep %setup -q -n %{distname}-%{version} #Site of files just for including: @@ -31,12 +42,16 @@ sed -i 's:#!/usr/bin/python::g' %{modname}/{normalize.py,arabic_const.py} %install %{__python2} setup.py install -O1 --skip-build --root=%{buildroot} -%files +%files -n python2-%{modname} %doc README %{python2_sitelib}/%{modname}/ %{python2_sitelib}/%{distname}-%{version}* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.2-9 +- Python 2 binary package renamed to python2-tashaphyne + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild