diff --git python-kid/python-kid.spec python-kid/python-kid.spec.tmp index b2697e4626..1f3e3af60c 100644 --- python-kid/python-kid.spec +++ python-kid/python-kid.spec.tmp @@ -2,7 +2,7 @@ Name: python-kid Version: 0.9.6 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Kid - A simple and pythonic XML template language Group: Applications/Publishing @@ -21,12 +21,20 @@ BuildRequires: python-setuptools BuildRequires: python-docutils -%description -Kid is a simple Python based template language for generating and -transforming XML vocabularies. Templates are compiled to native Python -byte-code and may be imported and used like normal Python modules. +%global _description\ +Kid is a simple Python based template language for generating and\ +transforming XML vocabularies. Templates are compiled to native Python\ +byte-code and may be imported and used like normal Python modules.\ +%description %_description + +%package -n python2-kid +Summary: %summary +%{?python_provide:%python_provide python2-kid} + +%description -n python2-kid %_description + %prep %setup -q -n kid-%{version} %patch0 -p1 -b .escape-gt @@ -57,7 +65,7 @@ ln -s ../..%{python_sitelib}/kid/compile.py $RPM_BUILD_ROOT%{_bindir}/kidc rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-kid %defattr(-,root,root,-) %doc COPYING HISTORY README doc/*.txt doc/*.css doc/*.html test %{python_sitelib}/kid* @@ -65,6 +73,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.9.6-20 +- Python 2 binary package renamed to python2-kid + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.9.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild