ab79378cf9
update to latest version OBS-URL: https://build.opensuse.org/request/show/822780 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=70
24 lines
737 B
Diff
24 lines
737 B
Diff
--- a/numpy/distutils/command/autodist.py
|
|
+++ b/numpy/distutils/command/autodist.py
|
|
@@ -50,7 +50,7 @@
|
|
"""Return True if the C compiler is GCC 4.x."""
|
|
cmd._check_compiler()
|
|
body = textwrap.dedent("""
|
|
- int
|
|
+ void
|
|
main()
|
|
{
|
|
#if (! defined __GNUC__) || (__GNUC__ < 4)
|
|
|
|
--- a/numpy/distutils/command/install.py
|
|
+++ b/numpy/distutils/command/install.py
|
|
@@ -67,7 +67,7 @@
|
|
need_rewrite = False
|
|
for l in f:
|
|
l = l.rstrip()
|
|
- if ' ' in l:
|
|
+ if ' ' in l and '%dir ' not in l:
|
|
need_rewrite = True
|
|
l = '"%s"' % (l)
|
|
lines.append(l)
|