From afa320ad5653cb5a13fe23f85e49dda3308eca1d Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 6 Dec 2018 01:25:34 -0500 Subject: [PATCH] Remove pytest bytecode. --- python-cartopy.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-cartopy.spec b/python-cartopy.spec index e807ef2..cfb0bcb 100644 --- a/python-cartopy.spec +++ b/python-cartopy.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 0.17.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cartographic Python library with Matplotlib visualisations License: LGPLv3 @@ -171,9 +171,9 @@ done %check -PYTHONPATH="%{buildroot}%{python2_sitearch}" MPLBACKEND=Agg \ +PYTHONPATH="%{buildroot}%{python2_sitearch}" PYTHONDONTWRITEBYTECODE=1 MPLBACKEND=Agg \ pytest-2 --doctest-modules --pyargs cartopy -m "not network" -PYTHONPATH="%{buildroot}%{python3_sitearch}" MPLBACKEND=Agg \ +PYTHONPATH="%{buildroot}%{python3_sitearch}" PYTHONDONTWRITEBYTECODE=1 MPLBACKEND=Agg \ pytest-3 --doctest-modules --pyargs cartopy -m "not network" @@ -192,6 +192,9 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}" MPLBACKEND=Agg \ %changelog +* Thu Dec 06 2018 Elliott Sales de Andrade - 0.17.0-2 +- Remove pytest bytecode + * Sat Nov 17 2018 Elliott Sales de Andrade - 0.17.0-1 - Update to latest version - Remove workaround for unpackaged Natural Earth data