Tomáš Chvátal 2019-03-22 12:49:34 +00:00 committed by Git OBS Bridge
parent e5bb15a593
commit 40e488feac

View File

@ -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