diff --git python-tftpy/python-tftpy.spec python-tftpy/python-tftpy.spec.tmp index 2bf8b7748f..97d33d6466 100644 --- python-tftpy/python-tftpy.spec +++ python-tftpy/python-tftpy.spec.tmp @@ -1,6 +1,6 @@ Name: python-tftpy Version: 0.6.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: TFTPy is a pure Python implementation of the Trivial FTP protocol Group: Development/Languages @@ -12,13 +12,21 @@ BuildArch: noarch BuildRequires: python-devel, python-setuptools -%description -Tftpy is a TFTP library for the Python programming language. It includes -client and server classes, with sample implementations. Hooks are included -for easy inclusion in a UI for populating progress indicators. It supports -RFCs 1350, 2347, 2348 and the tsize option from RFC 2349. +%global _description\ +Tftpy is a TFTP library for the Python programming language. It includes\ +client and server classes, with sample implementations. Hooks are included\ +for easy inclusion in a UI for populating progress indicators. It supports\ +RFCs 1350, 2347, 2348 and the tsize option from RFC 2349.\ +%description %_description + +%package -n python2-tftpy +Summary: %summary +%{?python_provide:%python_provide python2-tftpy} + +%description -n python2-tftpy %_description + %prep %setup -q -n tftpy-%{version} @@ -31,7 +39,7 @@ RFCs 1350, 2347, 2348 and the tsize option from RFC 2349. %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-tftpy %doc README COPYING %{_bindir}/tftpy_client.py %{_bindir}/tftpy_server.py @@ -40,6 +48,10 @@ RFCs 1350, 2347, 2348 and the tsize option from RFC 2349. %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.6.2-4 +- Python 2 binary package renamed to python2-tftpy + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild