From 73d3206b1f2c61d576332312346e28baf02ffd1c Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 22 Feb 2014 17:23:27 +0100 Subject: [PATCH 1/1] local proxy settings should not cause test failures rpm-build-macros have been updated to properly clear the environment --- known_failures-pld.txt | 7 ------- python-gevent.spec | 7 ++++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/known_failures-pld.txt b/known_failures-pld.txt index dccf68a..9fe5fd8 100644 --- a/known_failures-pld.txt +++ b/known_failures-pld.txt @@ -15,10 +15,6 @@ ###################################################### # Tests which may fail on our builders -# uses network, fragile to proxy settings -* * * -u -m monkey_test test_urllib2_localnet.py -* * * -u -m monkey_test --Event test_urllib2_localnet.py - # depends on external URL accessibility * * * -u -m monkey_test test_urllib2net.py * * * -u -m monkey_test --Event test_urllib2net.py @@ -27,9 +23,6 @@ # has expectations on local TCP ports availability * * * -u test___example_servers.py -# fragile to local proxy settings -* * * -u test__greenness.py - # File "test__socket.py", line 140, in test_sendall_timeout # self.assertRaises(self.TIMEOUT_ERROR, client.sendall, data_sent) # AssertionError: timeout not raised diff --git a/python-gevent.spec b/python-gevent.spec index 5a59464..8c640a3 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -20,9 +20,10 @@ Source1: known_failures-pld.txt BuildRequires: libevent-devel >= 1.4.0 BuildRequires: python-devel %if %{with tests} -BuildRequires: python-greenlet >= 0.3.2 -BuildRequires: python-test -BuildRequires: python-devel-src +BuildRequires: python-greenlet >= 0.3.2 +BuildRequires: python-test +BuildRequires: python-devel-src +BuildRequires: rpm-build-macros >= 1.688 %endif BuildRequires: rpm-pythonprov Requires: python-greenlet >= 0.3.2 -- 2.44.0