diff --git a/python-gevent.changes b/python-gevent.changes index d8dab67..e355898 100644 --- a/python-gevent.changes +++ b/python-gevent.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Feb 18 12:09:52 UTC 2019 - Tomáš Chvátal + +- Skip the SSL tests as they just only triggers false positives + with hope upstream sorts it out someday + +------------------------------------------------------------------- +Mon Feb 11 11:02:21 UTC 2019 - Tomáš Chvátal + +- Switch to pkgconfig requirements as c-ares was renamed between + SLE12 and SLE15 + ------------------------------------------------------------------- Mon Feb 4 11:37:48 UTC 2019 - Antonio Larrosa diff --git a/python-gevent.spec b/python-gevent.spec index fc8096e..0b7e667 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -40,14 +40,15 @@ BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.event} BuildRequires: %{python_module zope.interface} -# /etc/protocols needed for tests -BuildRequires: c-ares-devel BuildRequires: fdupes -BuildRequires: libev-devel -BuildRequires: libuv-devel +# /etc/protocols needed for tests BuildRequires: netcfg +BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: python3-testsuite +BuildRequires: pkgconfig(libcares) +BuildRequires: pkgconfig(libev) +BuildRequires: pkgconfig(libuv) Requires: python-cffi Requires: python-dnspython Requires: python-greenlet @@ -96,6 +97,7 @@ Documentation and examples for %{name}. %build export LIBEV_EMBED=0 export CARES_EMBED=0 +export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install @@ -106,6 +108,8 @@ export CARES_EMBED=0 %check # create ignore list of tests that reach out to the net +# test_ssl.py is fragile as it expect specific responses from ssl and +# does not account to our local changes cat <<'EOF' >> network_tests.txt test_urllib2net.py test__server.py @@ -115,6 +119,8 @@ test___example_servers.py test__socket_dns.py test__getaddrinfo_import.py test__examples.py +test_ssl.py +test__ssl.py EOF export GEVENT_RESOLVER=thread # Setting the TRAVIS environment variable makes some different configuration