python-numpy/numpy-buildfix.patch

12 lines
392 B
Diff

--- numpy/distutils/command/install.py
+++ numpy/distutils/command/install.py
@@ -58,7 +58,7 @@
need_rewrite = False
for l in f.readlines():
l = l.rstrip()
- if ' ' in l:
+ if ' ' in l and '%dir ' not in l:
need_rewrite = True
l = '"%s"' % (l)
lines.append(l)