diff --git python-pretty/python-pretty.spec python-pretty/python-pretty.spec.tmp index 7aaadfd375..6c280a1535 100644 --- python-pretty/python-pretty.spec +++ python-pretty/python-pretty.spec.tmp @@ -5,7 +5,7 @@ Name: python-pretty Version: 0.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Extensible pprint successor Group: Development/Libraries @@ -17,12 +17,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel -%description -Python advanced pretty printer. This pretty printer is intended to -replace the old `pprint` python module which does not allow developers -to provide their own pretty print callbacks. +%global _description\ +Python advanced pretty printer. This pretty printer is intended to\ +replace the old `pprint` python module which does not allow developers\ +to provide their own pretty print callbacks.\ +%description %_description + +%package -n python2-pretty +Summary: %summary +%{?python_provide:%python_provide python2-pretty} + +%description -n python2-pretty %_description + %prep %setup -q -n pretty-%{version} @@ -40,7 +48,7 @@ rm -rf %{buildroot} rm -rf %{buildroot} -%files +%files -n python2-pretty %defattr(-,root,root,-) %doc %{python_sitelib}/pretty.py* @@ -48,6 +56,10 @@ rm -rf %{buildroot} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1-14 +- Python 2 binary package renamed to python2-pretty + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild