diff --git a/ocrmypdf.spec b/ocrmypdf.spec index ca2fe31..b92064f 100644 --- a/ocrmypdf.spec +++ b/ocrmypdf.spec @@ -2,7 +2,7 @@ Name: %{srcname} Version: 9.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Add an OCR text layer to scanned PDF files # Main code: GPLv3; test files: all others @@ -99,15 +99,11 @@ install -Dpm 0644 misc/completion/ocrmypdf.fish %{buildroot}%{_datadir}/fish/ven %check -# test_tesseract_config_invalid[sandwich] breaks in parallel. +# test_tesseract_config_invalid is flaky and upstream has disabled it already. PATH=%{buildroot}%{_bindir}:$PATH \ PYTHONDONTWRITEBYTECODE=1 \ PYTHONPATH=%{buildroot}%{python3_sitelib} \ - %{__python3} -m pytest -ra -n auto -k 'not test_tesseract_config_invalid[sandwich]' -PATH=%{buildroot}%{_bindir}:$PATH \ -PYTHONDONTWRITEBYTECODE=1 \ -PYTHONPATH=%{buildroot}%{python3_sitelib} \ - %{__python3} -m pytest -vra -k 'test_tesseract_config_invalid[sandwich]' + %{__python3} -m pytest -ra -n auto -k 'not test_tesseract_config_invalid' %files -n %{srcname} @@ -127,6 +123,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %changelog +* Thu Oct 17 2019 Elliott Sales de Andrade - 9.0.3-2 +- Stop running flaky test + * Sun Sep 08 2019 Elliott Sales de Andrade - 9.0.3-1 - Update to latest version