- Clean up the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=36
This commit is contained in:
@@ -25,7 +25,7 @@ URL: https://github.com/Unidata/netcdf4-python
|
||||
Source: https://files.pythonhosted.org/packages/source/n/netCDF4/netCDF4-%{version}.tar.gz
|
||||
Source99: python-netCDF4.rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM Fix incompatbile pointer argument to nc_put_att_string()
|
||||
Patch: https://github.com/Unidata/netcdf4-python/pull/1322.patch
|
||||
Patch0: https://github.com/Unidata/netcdf4-python/pull/1322.patch
|
||||
BuildRequires: %{python_module Cython >= 0.29 with %python-Cython < 3}
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module cftime}
|
||||
@@ -69,8 +69,7 @@ types are not. Mixtures of compound and vlen data types (compound types
|
||||
containing vlens, and vlens containing compound types) are not supported.
|
||||
|
||||
%prep
|
||||
%setup -q -n netCDF4-%{version}
|
||||
%patch -P0 -p1
|
||||
%autosetup -p1 -n netCDF4-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
|
||||
Reference in New Issue
Block a user