diff --git a/.gitignore b/.gitignore index daf33d9..5906281 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /netcdf4-python-1.2.9.tar.gz /netcdf4-python-1.3.1.tar.gz /netcdf4-python-1.4.1.tar.gz +/netcdf4-python-1.4.3.2.tar.gz diff --git a/netcdf4-python.spec b/netcdf4-python.spec index 521937e..d8f0719 100644 --- a/netcdf4-python.spec +++ b/netcdf4-python.spec @@ -1,11 +1,11 @@ Name: netcdf4-python -Version: 1.3.1 -Release: 2%{?dist} +Version: 1.4.3.2 +Release: 1%{?dist} Summary: Python/numpy interface to netCDF License: MIT URL: https://github.com/Unidata/netcdf4-python -Source0: https://github.com/Unidata/netcdf4-python/archive/v%{version}rel/%{name}-%{version}.tar.gz +Source0: https://github.com/Unidata/netcdf4-python/archive/v%{version}/%{name}-%{version}.tar.gz # No rpath for library # http://code.google.com/p/netcdf4-python/issues/detail?id=138 Patch0: netcdf4-python-norpath.patch @@ -28,8 +28,7 @@ BuildRequires: python2-numpy %endif BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools >= 18 -# Added in 1.4.0 -#BuildRequires: python%{python3_pkgversion}-cftime +BuildRequires: python%{python3_pkgversion}-cftime BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-dateutil BuildRequires: python%{python3_pkgversion}-numpy @@ -86,8 +85,7 @@ containing vlens, and vlens containing compound types) are not supported. %package -n python%{python3_pkgversion}-netcdf4 Summary: Python/numpy interface to netCDF -# Added in 1.4.0 -#Requires: python%{python3_pkgversion}-cftime +Requires: python%{python3_pkgversion}-cftime Requires: python%{python3_pkgversion}-Cython Requires: python%{python3_pkgversion}-numpy %{?python_provide:%python_provide python%{python3_pkgversion}-netcdf4} @@ -110,11 +108,9 @@ containing vlens, and vlens containing compound types) are not supported. %prep -%setup -q -n %{name}-%{version}rel +%setup -q -n %{name}-%{version} %patch0 -p1 -b .norpath %patch1 -p1 -b .libs -# This uses the network -rm test/tst_dap.py %build @@ -140,6 +136,7 @@ rm test/tst_dap.py %check cd test +export NO_NET=1 %if 0%{?fedora} < 30 PYTHONPATH=$(echo ../build/lib.*%{python2_version}) %{__python2} run_all.py %endif @@ -171,6 +168,9 @@ PYTHONPATH=$(echo ../build/lib.*%{python3_version}) %{__python3} run_all.py %changelog +* Sat Mar 9 2019 Orion Poplawski - 1.4.3.2-1 +- Update to 1.4.3.2 + * Fri Feb 01 2019 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 9838bf6..f0d2b52 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (netcdf4-python-1.3.1.tar.gz) = d73e79d8e92aa4754910cd13784ed4bbcefa3290fcce0c3774ff3f2ff6f07a4fe0eb92cb254035cfa8761121863ef96cfb433f802282fe20682076665ebd1d0a +SHA512 (netcdf4-python-1.4.3.2.tar.gz) = c8fb4640403b9692fad9ca80beef4cd73b2be963dc692f9479f487bcac103cb2fa6e6e45df3e281893b7abfea1c89d5e57139d823edaedcfa96b26df5722054f