Update to 1.0.9
This commit is contained in:
parent
b5bc88bfd2
commit
c039654b8f
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/netCDF4-1.0.2.tar.gz
|
||||
/netCDF4-1.0.7.tar.gz
|
||||
/v1.0.8rel.tar.gz
|
||||
/netcdf4-python-1.0.9-92c0a1c.tar.gz
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -up netCDF4-1.0/setup.py.libs netCDF4-1.0/setup.py
|
||||
--- netCDF4-1.0/setup.py.libs 2012-09-12 15:14:43.024761604 -0600
|
||||
+++ netCDF4-1.0/setup.py 2012-09-12 15:20:37.741745136 -0600
|
||||
@@ -149,8 +149,8 @@ NETCDF4_DIR environment variable not set
|
||||
diff -up netcdf4-python-92c0a1ca62b22d4173622122226c060de3c063c6/setup.py.libs netcdf4-python-92c0a1ca62b22d4173622122226c060de3c063c6/setup.py
|
||||
--- netcdf4-python-92c0a1ca62b22d4173622122226c060de3c063c6/setup.py.libs 2014-05-09 15:22:15.297854939 -0600
|
||||
+++ netcdf4-python-92c0a1ca62b22d4173622122226c060de3c063c6/setup.py 2014-05-09 15:23:07.388567850 -0600
|
||||
@@ -243,8 +243,8 @@ NETCDF4_DIR environment variable not set
|
||||
if netCDF4_libdir is None and netCDF4_dir is not None:
|
||||
netCDF4_libdir = os.path.join(netCDF4_dir, 'lib')
|
||||
|
||||
@ -9,6 +9,6 @@ diff -up netCDF4-1.0/setup.py.libs netCDF4-1.0/setup.py
|
||||
- lib_dirs = [netCDF4_libdir,HDF5_libdir]
|
||||
+ libs = ['netcdf']
|
||||
+ lib_dirs = [netCDF4_libdir]
|
||||
inc_dirs = [netCDF4_includedir,HDF5_includedir]
|
||||
inc_dirs = [netCDF4_incdir,HDF5_incdir]
|
||||
|
||||
# add szip to link if desired.
|
||||
|
@ -5,16 +5,19 @@
|
||||
%endif
|
||||
|
||||
%global srcname distribute
|
||||
# Get hash for release from https://github.com/Unidata/netcdf4-python/releases
|
||||
%global commit 92c0a1ca62b22d4173622122226c060de3c063c6
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: netcdf4-python
|
||||
Version: 1.0.8
|
||||
Version: 1.0.9
|
||||
Release: 1%{?dist}
|
||||
Summary: Python/numpy interface to netCDF
|
||||
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
URL: https://github.com/Unidata/netcdf4-python
|
||||
Source0: https://github.com/Unidata/netcdf4-python/archive/v%{version}rel.tar.gz
|
||||
Source0: https://github.com/Unidata/netcdf4-python/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
||||
# No rpath for library
|
||||
# http://code.google.com/p/netcdf4-python/issues/detail?id=138
|
||||
Patch0: netcdf4-python-norpath.patch
|
||||
@ -90,7 +93,7 @@ containing vlens, and vlens containing compound types) are not supported.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}rel
|
||||
%setup -q -n %{name}-%{commit}
|
||||
%patch0 -p1 -b .norpath
|
||||
%patch1 -p1 -b .libs
|
||||
|
||||
@ -153,6 +156,9 @@ PYTHONPATH=$(echo ../build/lib.*) python3 run_all.py
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.0.9-1
|
||||
- Update to 1.0.9
|
||||
|
||||
* Thu Mar 6 2014 Orion Poplawski <orion@cora.nwra.com> - 1.0.8-1
|
||||
- Update to 1.0.8
|
||||
- Update URL/source to github
|
||||
|
Loading…
Reference in New Issue
Block a user