From 719a53e4e7cd102daccf582b102401eb25366251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Thu, 13 Jan 2011 15:27:51 +0100 Subject: [PATCH] - fix the AttributeError during tests - fix build on s390(x) --- numpy.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/numpy.spec b/numpy.spec index 4d43adb..d9d6712 100644 --- a/numpy.spec +++ b/numpy.spec @@ -9,7 +9,7 @@ Name: numpy Version: 1.5.1 -Release: 0.2%{?dist} +Release: 0.3%{?dist} Epoch: 1 Summary: A fast multidimensional array facility for Python @@ -159,6 +159,10 @@ rm -f %{buildroot}%{python_sitearch}/%{name}/THANKS.txt rm -f %{buildroot}%{python_sitearch}/%{name}/site.cfg.example %check +# doc/io.py conflicts with the regular io module causing +# AttributeError: 'module' object has no attribute 'BufferedIOBase' in tests +rm doc/io.py* + pushd doc &> /dev/null PYTHONPATH="%{buildroot}%{python_sitearch}" %{__python} -c "import pkg_resources, numpy ; numpy.test()" \ %ifarch s390 s390x @@ -172,7 +176,7 @@ pushd doc &> /dev/null # there is no python3-nose yet #PYTHONPATH="%{buildroot}%{python3_sitearch}" %{__python3} -c "import pkg_resources, numpy ; numpy.test()" \ %ifarch s390 s390x -|| : +#|| : %endif # don't remove this comment popd &> /dev/null @@ -245,6 +249,10 @@ rm -rf %{buildroot} %changelog +* Thu Jan 13 2011 Dan HorĂ¡k - 1:1.5.1-0.3 +- fix the AttributeError during tests +- fix build on s390(x) + * Wed Dec 29 2010 David Malcolm - 1:1.5.1-0.2 - rebuild for newer python3