forked from pool/python-mailmanclient
Accepting request 986715 from devel:languages:python:mailman
- Enable multiflavor so that we can pin mailman3 itself to python39 (forwarded request 986656 from bnavigator) OBS-URL: https://build.opensuse.org/request/show/986715 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailmanclient?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 4 10:44:31 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Enable multiflavor so that we can pin mailman3 itself to python39
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 9 08:48:24 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
# mailman is built only for primary python3 flavor
|
||||
%define pythons python3
|
||||
%define skip_python2 1
|
||||
Name: python-mailmanclient
|
||||
Version: 3.3.3
|
||||
Release: 0
|
||||
@@ -50,11 +49,6 @@ 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
|
||||
@@ -83,6 +77,7 @@ export LC_ALL=C.UTF-8
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license COPYING.LESSER
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/mailmanclient
|
||||
%{python_sitelib}/mailmanclient-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user