Accepting request 766647 from devel:languages:python:mailman:backports

- do not require python-cffi, it will be required by
  python-PyNaCl

OBS-URL: https://build.opensuse.org/request/show/766647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=21
This commit is contained in:
Petr Gajdos 2020-01-23 15:18:10 +00:00 committed by Git OBS Bridge
parent 18194e7217
commit 16f738ed70
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