diff --git a/python-2.7.2-disable-tests-in-test_io.patch b/python-2.7.2-disable-tests-in-test_io.patch new file mode 100644 index 0000000..6008951 --- /dev/null +++ b/python-2.7.2-disable-tests-in-test_io.patch @@ -0,0 +1,10 @@ +--- Python-2.7.2/Lib/test/test_io.py.disable-tests-in-test_io 2011-09-01 14:18:45.963304089 -0400 ++++ Python-2.7.2/Lib/test/test_io.py 2011-09-01 15:08:53.796098413 -0400 +@@ -2669,6 +2669,7 @@ class SignalsTest(unittest.TestCase): + self.check_interrupted_read_retry(lambda x: x, + mode="r") + ++ @unittest.skip('rhbz#732998') + @unittest.skipUnless(threading, 'Threading required for this test.') + def check_interrupted_write_retry(self, item, **fdopen_kwargs): + """Check that a buffered write, when it gets interrupted (either diff --git a/python-base.changes b/python-base.changes index 9752500..ecf4980 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 16 12:33:44 UTC 2012 - dvaleev@suse.com + +- skip broken test_io test on ppc + ------------------------------------------------------------------- Mon Dec 12 13:39:57 UTC 2011 - toddrme2178@gmail.com diff --git a/python-base.spec b/python-base.spec index 51d8510..314477d 100644 --- a/python-base.spec +++ b/python-base.spec @@ -47,6 +47,7 @@ Patch11: python-2.7.2-linux3.patch Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch Patch13: python-2.7.2-fix_date_time_compiler.patch Patch14: python-2.7.1-urllib-noproxy.patch +Patch15: python-2.7.2-disable-tests-in-test_io.patch # COMMON-PATCH-END %define python_version %(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -128,6 +129,11 @@ other applications. %patch12 %patch13 %patch14 -p1 + +#skip test_io test for ppc,ppc64 as it broken. +%ifarch ppc ppc64 +%patch15 -p1 +%endif # COMMON-PREP-END # drop Autoconf version requirement diff --git a/python.spec b/python.spec index 009d7dd..4ca2313 100644 --- a/python.spec +++ b/python.spec @@ -53,6 +53,7 @@ Patch11: python-2.7.2-linux3.patch Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch Patch13: python-2.7.2-fix_date_time_compiler.patch Patch14: python-2.7.1-urllib-noproxy.patch + # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel