diff --git python-pyarabic/python-pyarabic.spec python-pyarabic/python-pyarabic.spec.tmp index 81ccbdddc3..7f8b77b463 100644 --- python-pyarabic/python-pyarabic.spec +++ python-pyarabic/python-pyarabic.spec.tmp @@ -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,9 +14,17 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -%description +%global _description\ Arabic language text tools to be used by Python. +%description %_description + +%package -n python2-pyarabic +Summary: %summary +%{?python_provide:%python_provide python2-pyarabic} + +%description -n python2-pyarabic %_description + %description -l ar مجموعة من الأدوات النّصية للّغة العربية مُتاحة للاستخدام ببيئة بيثون. @@ -31,11 +39,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 +* Tue Aug 08 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