forked from pool/python-mailmanclient
Accepting request 890335 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/890335 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailmanclient?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 4 09:30:03 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Restrict to python3 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 4 00:11:53 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -16,11 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%define skip_python36 1
|
||||
%endif
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
# mailman is built only for primary python3 flavor
|
||||
%define pythons python3
|
||||
Name: python-mailmanclient
|
||||
Version: 3.3.2
|
||||
Release: 0
|
||||
@@ -41,6 +39,11 @@ BuildRequires: %{python_module pytest-vcr}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
# /SECTION
|
||||
%if 0%{python3_version_nodots} == 38
|
||||
# help in replacing any previously installed multiflavor package back to the primary python3 package
|
||||
Provides: python38-mailmanclient = %{version}-%{release}
|
||||
Obsoletes: python38-mailmanclient < %{version}-%{release}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user