Provide python-netcdf4

This commit is contained in:
Orion Poplawski 2017-03-07 08:55:18 -07:00
parent 5ed2f39cb4
commit 766b79c2f5
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: netcdf4-python
Version: 1.2.7
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Python/numpy interface to netCDF
Group: Development/Languages
@ -58,6 +58,7 @@ Requires: python-ordereddict
%endif
Requires: Cython
Requires: numpy
%{?python_provide:%python_provide python2-netcdf4}
Provides: netcdf4-python2 = %{version}-%{release}
%description -n python2-netcdf4
@ -80,6 +81,7 @@ Summary: Python/numpy interface to netCDF
Group: Development/Languages
Requires: python%{python3_pkgversion}-Cython
Requires: python%{python3_pkgversion}-numpy
%{?python_provide:%python_provide python%{python3_pkgversion}-netcdf4}
Obsoletes: netcdf4-python%{python3_pkgversion} < 1.2.7-3
Provides: netcdf4-python%{python3_pkgversion} = %{version}-%{release}
@ -146,6 +148,9 @@ PYTHONPATH=$(echo ../build/lib.*%{python3_version}) %{__python3} run_all.py
%changelog
* Tue Mar 7 2017 Orion Poplawski <orion@cora.nwra.com> - 1.2-7-4
- Provide python-netcdf4
* Thu Mar 2 2017 Orion Poplawski <orion@cora.nwra.com> - 1.2-7-3
- Move python libraries into python?- sub-packages
- Make python3 default for Fedora