From a77bca71d752748351e186fd962ba1f739499a13 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Oct 05 2018 10:55:08 +0000 Subject: Do not create pytest pyc files --- diff --git a/python-seaborn.spec b/python-seaborn.spec index bc6d7a8..75d20f5 100644 --- a/python-seaborn.spec +++ b/python-seaborn.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Statistical data visualization in Python License: BSD @@ -92,6 +92,8 @@ rm -rf seaborn/external/ mkdir matplotlib touch matplotlib/matplotlibrc export XDG_CONFIG_HOME=`pwd` +# Avoid writing bad pyc files +export PYTHONDONTWRITEBYTECODE=1 pushd %{buildroot}/%{python2_sitelib} pytest-%{python2_version} -v seaborn rm -rf .pytest_cache @@ -116,6 +118,9 @@ popd %{python3_sitelib}/seaborn-%{version}-py%{python3_version}.egg-info %changelog +* Fri Oct 05 2018 Sergio Pascual - 0.9.0-2 +- Do not create pytest pyc files + * Tue Sep 11 2018 Elliott Sales de Andrade - 0.9.0-1 - Update to latest version