From 40e488feacb5e749257343c8a4ee0a8b9adad893975b8cdee42784cad414c6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 22 Mar 2019 12:49:34 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-brotlipy?expand=0&rev=7 --- python-brotlipy.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-brotlipy.spec b/python-brotlipy.spec index 99b00de..1eaded5 100644 --- a/python-brotlipy.spec +++ b/python-brotlipy.spec @@ -65,10 +65,11 @@ export CXXFLAGS="%{optflags}" %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitearch} +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest +# the skipped tests are benchmarks which can be flaky in OBS +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest -k 'not (test_streaming_compression or test_streaming_compression_flush)' %files %{python_files} %license LICENSE LICENSE.libbrotli