From af635d8b4923e49a62d1e98cfbcd991daa9aa3c4 Mon Sep 17 00:00:00 2001 From: Marcel Plch Date: Jul 18 2018 13:52:06 +0000 Subject: Make build regenerate Cython files --- diff --git a/python-basemap.spec b/python-basemap.spec index fcad6d2..2c192ab 100644 --- a/python-basemap.spec +++ b/python-basemap.spec @@ -7,7 +7,7 @@ Name: python-basemap Version: 1.0.7 -Release: 26%{?dist} +Release: 27%{?dist} Summary: Plots data on map projections (with continental and political boundaries) License: LGPLv2+ URL: http://matplotlib.org/basemap/ @@ -52,6 +52,10 @@ Requires: python2-basemap Summary: Plots data on map projections (with continental and political boundaries) License: LGPLv2+ BuildRequires: python3-devel, proj-devel, shapelib-devel, python3-numpy-f2py, geos-devel +# Needed to regenerate Cython generated files. +# This could become irrelevant with new +# versions of basemap. +BuildRequires: python3-Cython BuildRequires: python3-httplib2 Requires: python3-matplotlib >= 0.98 Requires: python-basemap-data @@ -84,6 +88,8 @@ cp -a . %{py3dir} %build %if %{with_python3} pushd %{py3dir} +# regenerate Cython generated files +%{__python3} -m cython src/*.pyx export GEOS_LIB="/usr/" %{__python3} setup.py config %{__python3} setup.py build @@ -135,6 +141,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir} %endif %changelog +* Wed Jul 18 2018 Marcel Plch - 1.0.7-27 +- Make build regenerate Cython files + * Fri Jul 13 2018 Fedora Release Engineering - 1.0.7-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild