diff --git a/python-tox.spec b/python-tox.spec index e5b15aa..6ad51a0 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -109,6 +109,7 @@ done %check export PYTHONDONTWRITEBYTECODE=1 +export PATH=%{buildroot}%{_bindir}:$PATH %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v %post