[numpy/f18] add workaround for rhbz#849713 (fixes FTBFS)

Dan Horák sharkcz at fedoraproject.org
Wed Aug 22 14:57:17 UTC 2012


commit a69cb261b3321f08b6f5be556c77350a97519878
Author: Dan Horák <dan at danny.cz>
Date:   Wed Aug 22 16:57:10 2012 +0200

    add workaround for rhbz#849713 (fixes FTBFS)

 numpy.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/numpy.spec b/numpy.spec
index fe1414f..b2546a3 100644
--- a/numpy.spec
+++ b/numpy.spec
@@ -9,7 +9,7 @@
 
 Name:           numpy
 Version:        1.6.2
-Release:        5%{?dist}
+Release:        6%{?dist}
 Epoch:		1
 Summary:        A fast multidimensional array facility for Python
 
@@ -115,6 +115,10 @@ This package includes a version of f2py that works properly with NumPy.
 %patch4 -p1
 %patch5 -p1
 
+# workaround for rhbz#849713
+# http://mail.scipy.org/pipermail/numpy-discussion/2012-July/063530.html
+rm numpy/distutils/command/__init__.py && touch numpy/distutils/command/__init__.py
+
 # Regenerate Cython c sources
 # This is needed with numpy-1.6.2.tar.gz with python 3.3 to avoid an exception
 # with an import call in the generated .c file in the tarball that uses the
@@ -292,6 +296,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Aug 22 2012 Dan Horák <dan[at]danny.cz> - 1:1.6.2-6
+- add workaround for rhbz#849713 (fixes FTBFS)
+
 * Sun Aug  5 2012 David Malcolm <dmalcolm at redhat.com> - 1:1.6.2-5
 - rework patches for 3.3 to more directly reflect upstream's commits
 - re-enable test suite on python 3


More information about the scm-commits mailing list