diff --git python-pymtp/python-pymtp.spec python-pymtp/python-pymtp.spec.tmp index 41891f4330..e5706167dd 100644 --- python-pymtp/python-pymtp.spec +++ python-pymtp/python-pymtp.spec.tmp @@ -5,7 +5,7 @@ Name: python-pymtp Version: 0.0.6 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A Pythonic wrapper around libmtp Group: Development/Libraries @@ -21,12 +21,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %endif BuildRequires: python-devel -Requires: %{libmtp}%{?mark64} -%description -A Pythonic wrapper around libmtp, allowing python applications to communicate +%global _description\ +A Pythonic wrapper around libmtp, allowing python applications to communicate\ with MTP devices. +%description %_description + +%package -n python2-pymtp +Summary: %summary +Requires: %{libmtp}%{?mark64} +%{?python_provide:%python_provide python2-pymtp} + +%description -n python2-pymtp %_description + %prep %setup -q -n %{module}-%{version} # Examples are documentation, remove executable permission @@ -48,13 +56,17 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-pymtp %defattr(-,root,root,-) %doc README COPYING examples %{python_sitearch}/pymtp.* %{python_sitearch}/*.egg-info %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.0.6-11 +- Python 2 binary package renamed to python2-pymtp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.0.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild