Accepting request 766648 from devel:languages:python:mailman

- do not require python-cffi, it will be required by
  python-PyNaCl (forwarded request 766647 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/766648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailman?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-01-24 12:11:58 +00:00 committed by Git OBS Bridge
commit 9f8310c61f
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 23 15:04:12 UTC 2020 - pgajdos@suse.com
- do not require python-cffi, it will be required by
python-PyNaCl
-------------------------------------------------------------------
Tue Jan 14 12:55:34 UTC 2020 - pgajdos@suse.com

View File

@ -61,7 +61,6 @@ Requires: python-zope.configuration
Requires: python-zope.event
Requires: python-zope.interface
%if 0%{?suse_version} <= 1500
Requires: python-cffi
Requires: python-importlib_resources
%endif
Provides: mailman = %{version}
@ -94,7 +93,6 @@ BuildRequires: %{python_module zope.configuration}
BuildRequires: %{python_module zope.event}
BuildRequires: %{python_module zope.interface}
%if 0%{?suse_version} <= 1500
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module importlib_resources}
%endif
%endif
@ -129,9 +127,8 @@ sed '/importlib_resources/d' -i src/mailman.egg-info/requires.txt setup.py
%check
%if %{with test}
%if 0%{?suse_version} <= 1500
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
%if 0%{?suse_version} <= 1500
# mailman.rest.tests.test_wsgiapp.TestSupportedContentType
# AssertionError: 'application/json; charset=UTF-8' != 'application/json'
rm src/mailman/rest/tests/test_wsgiapp.py