From fe6e6b8dd65025878e51bc5eb1358c7f14401c98 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 20 Nov 2017 20:28:35 -0500 Subject: [PATCH] Avoid packaging -PYTEST.pyc files which are problematic (#1507299) --- python-pytest-xdist.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index 607a178..74928a3 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -14,7 +14,7 @@ Name: python-%{pypi_name} Version: 1.20.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: py.test plugin for distributed testing and loop-on-failing modes License: MIT @@ -72,8 +72,8 @@ Requires: python3-py %py3_install %check -PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} testing -PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} testing +PYTHONPATH=%{buildroot}%{python2_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{python2_version} testing +PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{python3_version} testing %files -n python2-%{pypi_name} @@ -89,6 +89,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} testing %{python3_sitelib}/xdist/ %changelog +* Mon Nov 20 2017 Scott Talbert - 1.20.1-2 +- Avoid packaging -PYTEST.pyc files which are problematic (#1507299) + * Tue Oct 24 2017 Scott Talbert - 1.20.1-1 - New upstream release 1.20.1