SHA256
1
0
forked from pool/python-tox
Tomáš Chvátal 2018-11-01 12:02:30 +00:00 committed by Git OBS Bridge
parent 89cfd975f0
commit 5ba12ba7ba

View File

@ -96,6 +96,8 @@ This is the HTML documentation for tox package.
%prep
%setup -q -n tox-%{version}
# remove cmdline test as they exec tox binary that is alternatived by us
rm -f tests/unit/test_z_cmdline.py
%build
%python_build
@ -108,9 +110,10 @@ done
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
export PYTHONDONTWRITEBYTECODE=1
export PATH=%{buildroot}%{_bindir}:$PATH
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not network'
%post
%python_install_alternative tox tox-quickstart