[pygrib] fix location of python3-pyproj requires

Jos de Kloe jdekloe at fedoraproject.org
Wed Jul 9 20:58:41 UTC 2014


commit 747097460ac967b34d3fecb337caca3d8d552da8
Author: Jos de Kloe <josdekloe at gmail.com>
Date:   Wed Jul 9 22:56:32 2014 +0200

    fix location of python3-pyproj requires

 pygrib.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/pygrib.spec b/pygrib.spec
index 8854bd0..0d0811f 100644
--- a/pygrib.spec
+++ b/pygrib.spec
@@ -5,7 +5,7 @@
 
 Name:       pygrib
 Version:    1.9.9
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Python module for reading and writing GRIB (editions 1 and 2) files
 
 License:    MIT
@@ -59,7 +59,7 @@ Requires:  grib_api
 Requires:  pyproj
 
 # specifying this is not needed. rpmbuild figures it out without help
-# Requires: pyproj jasper-libs openjpeg-libs libpng zlib
+# Requires: jasper-libs openjpeg-libs libpng zlib
 
 # avoid providing the private libs:
 %{?filter_setup:
@@ -87,6 +87,10 @@ files.
 %package -n python3-%{name}
 Summary:    Python3 module for reading and writing GRIB (editions 1 and 2) files
 
+# it seems this requires must be specified before the description section
+# or it will be ignored ...
+Requires:  python3-pyproj
+
 %description -n python3-%{name}
 Cython wrapper to provide python3 interfaces to the grib library.
 
@@ -96,7 +100,6 @@ 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 
 files.
 
-Requires:  python3-pyproj
 %endif # if with_python3
 
 %prep
@@ -205,6 +208,9 @@ export PYTHONPATH=%{buildroot}/%{python3_sitearch}
 %endif # with_python3
 
 %changelog
+* Wed Jul 09 2014 Jos de Kloe <josdekloe at gmail.com> 1.9.9-2
+- move requires for python3-pyproj above description section
+
 * Sat Jul 05 2014 Jos de Kloe <josdekloe at gmail.com> 1.9.9-1
 - update to upstream version 1.9.9
 - replace python_sitearch macro with python2_sitearch


More information about the scm-commits mailing list