[pygrib] add an explicit requirement on grib_api
Jos de Kloe
jdekloe at fedoraproject.org
Wed Aug 14 20:35:13 UTC 2013
commit 84cf4da9e3dbffc685c5bf3d4cf106e2abd7e79f
Author: Jos de Kloe <josdekloe at gmail.com>
Date: Wed Aug 14 22:32:50 2013 +0200
add an explicit requirement on grib_api
pygrib.spec | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/pygrib.spec b/pygrib.spec
index b563e46..5ae23ee 100644
--- a/pygrib.spec
+++ b/pygrib.spec
@@ -5,7 +5,7 @@
Name: pygrib
Version: 1.9.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Python module for reading and writing GRIB (editions 1 and 2) files
License: MIT
@@ -13,14 +13,13 @@ Group: Applications/Engineering
URL: http://code.google.com/p/pygrib/
Source0: http://pygrib.googlecode.com/files/%{name}-%{version}.tar.gz
-# TODO: all patches should have a comment above them in the SPEC file about
-# their upstream status.
-
# Adapt setup.py to not use packaged g2clib source code
# and fix a small python3 problem
Patch0: %{name}-%{version}-2-build.patch
# Adapt g2clib.pyx to the python3 coding standard
Patch1: %{name}-%{version}-g2clib.pyx.patch
+# both issues have been reported upstream here:
+# http://code.google.com/p/pygrib/issues/detail?id=64
BuildRequires: python2-devel
BuildRequires: grib_api-static >= 1.9.0
@@ -53,6 +52,10 @@ BuildRequires: python3-pyproj
# in addition pyproj has been added as BR since it is needed
# to run the test.py script in the check stage
+# this requirement is not automatically resolved and needs to be
+# inserted manually (see bug 996834)
+Requires: grib_api
+
Requires: pyproj
%if 0%{?with_python3}
Requires: python3-pyproj
@@ -77,7 +80,7 @@ Requires: python3-pyproj
%description
Cython wrapper to provide python interfaces to the grib library.
-GRIB is the the World Meterological Organization (WMO) standard for
+GRIB is the the World Meteorological Organization (WMO) standard for
distributing gridded data. This module contains python interfaces for reading
and writing GRIB data using the ECMWF GRIB API C library, and the NCEP GRIB2
C library, as well as command-line utilities for listing and re-packing GRIB
@@ -90,7 +93,7 @@ Summary: Python3 module for reading and writing GRIB (editions 1 and 2) files
%description -n python3-%{name}
Cython wrapper to provide python3 interfaces to the grib library.
-GRIB is the the World Meterological Organization (WMO) standard for
+GRIB is the the World Meteorological Organization (WMO) standard for
distributing gridded data. This module contains python interfaces for reading
and writing GRIB data using the ECMWF GRIB API C library, and the NCEP GRIB2
C library, as well as command-line utilities for listing and re-packing GRIB
@@ -195,6 +198,9 @@ export PYTHONPATH=%{buildroot}/%{python3_sitearch}
%endif # with_python3
%changelog
+* Wed Aug 14 2013 Jos de Kloe <josdekloe at gmail.com> 1.9.5-4
+- add an explicit requirement on grib_api
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.9.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list