2024-05-29 21:18:28 +00:00
committed by Git OBS Bridge
parent fd636755d9
commit 18ed4ced3e
3 changed files with 11 additions and 11 deletions

View File

@@ -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"