From 5ba12ba7ba6f78238f0d9afac323335dbd81817c0afb2a702b0cccc81de9f895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 1 Nov 2018 12:02:30 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=47 --- python-tox.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tox.spec b/python-tox.spec index 6ad51a0..72b7bc3 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -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