diff --git python-yenc/python-yenc.spec python-yenc/python-yenc.spec.tmp index fda5367f85..9966ea541a 100644 --- python-yenc/python-yenc.spec +++ python-yenc/python-yenc.spec.tmp @@ -2,7 +2,7 @@ Name: python-yenc Version: 0.4.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: yEnc Module for Python Group: Development/Languages License: GPLv2+ @@ -12,12 +12,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel BuildRequires: python-setuptools -%description -python-yenc is a yEnc decoding library for Python. yEnc is a -binary-to-text encoding scheme for transferring binary files -in messages on Usenet or via e-mail. +%global _description\ +python-yenc is a yEnc decoding library for Python. yEnc is a\ +binary-to-text encoding scheme for transferring binary files\ +in messages on Usenet or via e-mail.\ +%description %_description + +%package -n python2-yenc +Summary: %summary +%{?python_provide:%python_provide python2-yenc} + +%description -n python2-yenc %_description + %prep %setup -q -n dual75-yenc-%{yenc_hash} @@ -40,13 +48,17 @@ PYTHONPATH="$PYTHONPATH:$RPM_BUILD_ROOT/%{python_sitearch}" %{__python2} test/te rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-yenc %defattr(-,root,root,-) %doc README TODO COPYING %{python_sitearch}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4.0-10 +- Python 2 binary package renamed to python2-yenc + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild