[netcdf4-python] Add BR/R on Cython

Orion Poplawski orion at fedoraproject.org
Fri May 9 21:45:53 UTC 2014


commit 40e5c37ad7f0c810bf3045a80ebe67e017a65f6e
Author: Orion Poplawski <orion at nwra.com>
Date:   Fri May 9 15:45:59 2014 -0600

    Add BR/R on Cython

 netcdf4-python.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/netcdf4-python.spec b/netcdf4-python.spec
index 23011f8..c8034ea 100644
--- a/netcdf4-python.spec
+++ b/netcdf4-python.spec
@@ -27,6 +27,7 @@ Patch1:         netcdf4-python-libs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  python2-devel
+BuildRequires:  Cython
 BuildRequires:  python-dateutil
 # EL6 has python 2.6 and needs ordereddict
 %if 0%{?rhel} && 0%{?rhel} <= 6
@@ -35,6 +36,7 @@ BuildRequires:  python-ordereddict
 BuildRequires:  numpy
 %if 0%{?with_python3}
 BuildRequires:  python3-devel
+BuildRequires:  python3-Cython
 BuildRequires:  python3-dateutil
 BuildRequires:  python3-numpy
 # For 2to3
@@ -46,6 +48,7 @@ BuildRequires:  netcdf-devel
 %if 0%{?rhel} && 0%{?rhel} <= 6
 Requires:       python-ordereddict
 %endif
+Requires:       Cython
 Requires:       numpy
 
 # we don't want to provide private python extension libs
@@ -76,6 +79,7 @@ containing vlens, and vlens containing compound types) are not supported.
 %package -n netcdf4-python3
 Summary:        Python/numpy interface to netCDF
 Group:          Development/Languages
+Requires:       python3-Cython
 Requires:       python3-numpy
 
 %description -n netcdf4-python3
@@ -162,6 +166,7 @@ PYTHONPATH=$(echo ../build/lib.*) python3 run_all.py
 - Update to 1.0.9
 - Remove rpaths
 - Add BR python{,3}-dateutil for tests
+- Add BR/R on Cython
 
 * Thu Mar 6 2014 Orion Poplawski <orion at cora.nwra.com> - 1.0.8-1
 - Update to 1.0.8


More information about the scm-commits mailing list