diff --git a/python-django-post_office.spec b/python-django-post_office.spec index b579412ab5..6623cf3c1a 100644 --- a/python-django-post_office.spec +++ b/python-django-post_office.spec @@ -4,7 +4,6 @@ Name: python-%{app_name} Version: 0.6.0 Release: 10%{?dist} Summary: Allows you to log email activities and send mail asynchronously -Group: Applications/Internet License: MIT @@ -21,29 +20,24 @@ Requires: python-django 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. +%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