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