Avoid packaging -PYTEST.pyc files which are problematic (#1507299)

epel9
Scott Talbert 7 years ago
parent d7dd7ac4f1
commit fe6e6b8dd6

@ -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 <swt@techie.net> - 1.20.1-2
- Avoid packaging -PYTEST.pyc files which are problematic (#1507299)
* Tue Oct 24 2017 Scott Talbert <swt@techie.net> - 1.20.1-1
- New upstream release 1.20.1

Loading…
Cancel
Save