diff --git a/python-postman.spec b/python-postman.spec index 5b32b52e9e..b9279458b1 100644 --- a/python-postman.spec +++ b/python-postman.spec @@ -6,7 +6,7 @@ Name: python-%{pkgname} Version: 0.6.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Postman is a command line utility for working with Amazon SES Group: Applications/Internet @@ -24,24 +24,32 @@ BuildRequires: python2-devel BuildRequires: python-docutils BuildRequires: python-setuptools BuildRequires: python-boto -Requires: python-boto - -Provides: python2-%{pkgname} = %{version}-%{release} # python 2.7 includes argparse natively. # everybody that's still stuck on 2.6 or below needs python-argparse. %if 0%{?fedora} < 15 || (0%{?rhel} && 0%{?rhel} < 7) BuildRequires: python-argparse -Requires: python-argparse %endif -%description -Postman is a command line utility for working with -Amazon Simple Email Service (SES) - -A tutorial for using postman is available here: +%global _description\ +Postman is a command line utility for working with\ +Amazon Simple Email Service (SES)\ +\ +A tutorial for using postman is available here:\ http://aws.amazon.com/articles/2405502737055650 +%description %_description + +%package -n python2-%{pkgname} +Summary: %summary +Requires: python-boto +%if 0%{?fedora} < 15 || (0%{?rhel} && 0%{?rhel} < 7) +Requires: python-argparse +%endif +%{?python_provide:%python_provide python2-%{pkgname}} + +%description -n python2-%{pkgname} %_description + %prep %setup -q -n %{pkgname}-%{version} @@ -73,7 +81,7 @@ install -p -m 0644 %{pkgname}.5 %{buildroot}%{_mandir}/man5/ %clean rm -rf %{buildroot} -%files +%files -n python2-%{pkgname} %defattr(-,root,root,-) %doc README.rst AUTHORS LICENSE %{_bindir}/postman @@ -81,6 +89,10 @@ rm -rf %{buildroot} %{_mandir}/man5/* %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.6.0-14 +- Python 2 binary package renamed to python2-postman + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.6.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild