[gdl/el6/master] Use PYTHON_INCLUDES

Orion Poplawski orion at fedoraproject.org
Mon Dec 6 22:38:05 UTC 2010


commit 4ec9cd37043657b5bca475e53eae19da3a120749
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Mon Dec 6 15:37:58 2010 -0700

    Use PYTHON_INCLUDES

 gdl.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdl.spec b/gdl.spec
index 3f06938..bb19d98 100644
--- a/gdl.spec
+++ b/gdl.spec
@@ -103,7 +103,8 @@ autoreconf --install
    --with-grib \\\
    --with-wxWidgets \\\
    %{plplot_config} \\\
-   INCLUDES="-I%{_includedir}/udunits2 -I%{python_sitearch}/numpy/core/include" \\\
+   INCLUDES="-I%{_includedir}/udunits2" \\\
+   PYTHON_INCLUDES="-I%{python_sitearch}/numpy/core/include" \\\
    LIBS="-L%{_libdir}/hdf -ldl" \\\
 %{nil}
 # TODO - build an mpi version


More information about the scm-commits mailing list