diff --git a/python-django-post_office.spec b/python-django-post_office.spec index b579412ab5..df4bb53edb 100644 --- a/python-django-post_office.spec +++ b/python-django-post_office.spec @@ -2,9 +2,8 @@ %global app_name django-post_office Name: python-%{app_name} Version: 0.6.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Allows you to log email activities and send mail asynchronously -Group: Applications/Internet License: MIT @@ -15,35 +14,36 @@ BuildArch: noarch BuildRequires: python2-devel python-setuptools BuildRequires: python-django -Requires: python-django %if 0%{?with_python3} BuildRequires: python3-devel python3-setuptools BuildRequires: python3-django -Requires: python3-django %endif # if with_python3 -%description -Django Post Office is a simple app that allows you to send email asynchronously -in Django. Supports HTML email, database backed templates and logging. - -``post_office`` is implemented as a Django ``EmailBackend`` so you don't need +%global _description \ +Django Post Office is a simple app that allows you to send email asynchronously\ +in Django. Supports HTML email, database backed templates and logging.\ +\ +``post_office`` is implemented as a Django ``EmailBackend`` so you don't need\ to change any of your code to start sending email asynchronously. +%package -n python2-%{app_name} +Summary: %summary +Requires: python-django +%{?python_provide:%python_provide python2-%{app_name}} + +%description -n python2-%{app_name} %_description + +%description %_description %if 0%{?with_python3} %package -n python3-%{app_name} Summary: Allows you to log email activities and send mail asynchronously -Group: Applications/Internet - -%description -n python3-%{app_name} -Django Post Office is a simple app that allows you to send email asynchronously -in Django. Supports HTML email, database backed templates and logging. +Requires: python3-django -``post_office`` is implemented as a Django ``EmailBackend`` so you don't need -to change any of your code to start sending email asynchronously. +%description -n python3-%{app_name} %_description %endif # with_python3 %prep @@ -90,7 +90,7 @@ popd #popd #%endif # with_python3 -%files +%files -n python2-%{app_name} %doc README.rst AUTHORS.rst LICENSE.txt %{python_sitelib}/post_office/ %{python_sitelib}/django_post_office-%{version}-py?.?.egg-info/ @@ -103,6 +103,10 @@ popd %endif # with_python3 %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.6.0-11 +- Python 2 binary package renamed to python2-django-post_office + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.6.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild