diff --git python-mailer/python-mailer.spec python-mailer/python-mailer.spec.tmp index cb102997ef..f8402cf059 100644 --- python-mailer/python-mailer.spec +++ python-mailer/python-mailer.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.8.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A module that simplifies sending email License: MIT @@ -13,9 +13,17 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -%description +%global _description\ Simple front end to the smtplib and email modules, to simplify sending email. +%description %_description + +%package -n python2-%{srcname} +Summary: %summary +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} %_description + %prep %setup -q -n %{srcname}-%{version} @@ -25,11 +33,15 @@ Simple front end to the smtplib and email modules, to simplify sending email. %install %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-%{srcname} %{python2_sitelib}/%{srcname}.py* %{python2_sitelib}/%{srcname}*.egg-info %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.8.0-7 +- Python 2 binary package renamed to python2-mailer + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.8.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild