diff --git python-mandrill/python-mandrill.spec python-mandrill/python-mandrill.spec.tmp index 7f62d17584..45397286fa 100644 --- python-mandrill/python-mandrill.spec +++ python-mandrill/python-mandrill.spec.tmp @@ -2,7 +2,7 @@ Name: python-mandrill Version: 1.0.51 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A CLI client and API library for Mandrill email service Group: Development/Languages @@ -12,12 +12,20 @@ Source0: https://pypi.python.org/packages/source/m/%{tarball_name}/%{tarb Source1: LICENSE_MANDRILL BuildArch: noarch BuildRequires: python2-devel python-setuptools -Requires: python-ujson python-docopt python-requests -%description -A Python API client and suite of CLI-based tools for the Mandrill email +%global _description\ +A Python API client and suite of CLI-based tools for the Mandrill email\ as a platform service +%description %_description + +%package -n python2-mandrill +Summary: %summary +Requires: python-ujson python-docopt python-requests +%{?python_provide:%python_provide python2-mandrill} + +%description -n python2-mandrill %_description + %prep %setup -qn %{tarball_name}-%{version} rm -fr %{tarball_name}.egg-info @@ -31,13 +39,17 @@ rm -rf %{buildroot} %{__python2} setup.py install -O1 --skip-build --root %{buildroot} %{__install} -p -m644 %SOURCE1 LICENSE -%files +%files -n python2-mandrill %{python2_sitelib}/* %{_bindir}/mandrill %{_bindir}/sendmail.mandrill %doc README LICENSE %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.51-9 +- Python 2 binary package renamed to python2-mandrill + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.51-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild