diff --git a/python-django-mailman3.spec b/python-django-mailman3.spec index ca42527..4294784 100644 --- a/python-django-mailman3.spec +++ b/python-django-mailman3.spec @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,14 +21,21 @@ Name: python-django-mailman3 Version: 1.3.0 Release: 0 -License: GPL-3.0 Summary: Django library to help interaction with Mailman -Url: https://gitlab.com/mailman/django-mailman3 +License: GPL-3.0-only Group: Development/Languages/Python +URL: https://gitlab.com/mailman/django-mailman3 Source: https://files.pythonhosted.org/packages/source/d/django-mailman3/django-mailman3-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Django >= 1.11 +Requires: python-django-allauth +Requires: python-django-gravatar2 >= 1.0.6 +Requires: python-mailmanclient +Requires: python-pytz +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Django >= 1.11} BuildRequires: %{python_module django-allauth} @@ -35,14 +43,6 @@ BuildRequires: %{python_module django-gravatar2 >= 1.0.6} #BuildRequires: %%{python_module mailmanclient} BuildRequires: %{python_module pytz} # /SECTION -BuildRequires: fdupes -Requires: python-Django >= 1.11 -Requires: python-django-allauth -Requires: python-django-gravatar2 >= 1.0.6 -Requires: python-mailmanclient -Requires: python-pytz -BuildArch: noarch - %python_subpackages %description