diff --git a/python-pyarabic.spec b/python-pyarabic.spec index 81ccbdddc3..97aae9782c 100644 --- a/python-pyarabic.spec +++ b/python-pyarabic.spec @@ -3,7 +3,7 @@ Name: python-pyarabic Version: 0.4 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Arabic text tools for Python Summary(ar): مكتبة بيثون للعربية Group: Applications/Publishing @@ -14,12 +14,23 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -%description +%global _description\ Arabic language text tools to be used by Python. -%description -l ar +%global _description_ar\ مجموعة من الأدوات النّصية للّغة العربية مُتاحة للاستخدام ببيئة بيثون. +%description %_description +%description -l ar %_description_ar + +%package -n python2-pyarabic +Summary: Arabic text tools for Python +Summary(ar): مكتبة بيثون للعربية +%{?python_provide:%python_provide python2-pyarabic} + +%description -n python2-pyarabic %_description +%description -n python2-pyarabic -l ar %_description_ar + %prep %setup -q -n %{distname}-%{version} # Specific env to python2 @@ -31,11 +42,15 @@ sed -i 's:#!/usr/bin/python::g' pyarabic/araby.py %install %{__python2} setup.py install -O1 --skip-build --root=%{buildroot} -%files +%files -n python2-pyarabic %{python2_sitelib}/%{modname}/ %{python2_sitelib}/%{distname}-%{version}* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.4-9 +- Python 2 binary package renamed to python2-pyarabic + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild