diff --git a/.gitignore b/.gitignore index 76a066e..8f2c2d4 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,4 @@ /ocrmypdf-13.0.0.tar.gz /ocrmypdf-13.2.0.tar.gz /ocrmypdf-13.3.0.tar.gz +/ocrmypdf-13.4.0.tar.gz diff --git a/ocrmypdf.spec b/ocrmypdf.spec index 0db3094..18622d5 100644 --- a/ocrmypdf.spec +++ b/ocrmypdf.spec @@ -1,7 +1,7 @@ %global srcname ocrmypdf Name: %{srcname} -Version: 13.3.0 +Version: 13.4.0 Release: %autorelease Summary: Add an OCR text layer to scanned PDF files @@ -75,7 +75,7 @@ done %pyproject_wheel # generate html docs -PYTHONPATH=${PWD}/build/lib OCRMYPDF_VERSION="%{version}" sphinx-build-3 docs html +PYTHONPATH="%{pyproject_build_lib}" OCRMYPDF_VERSION="%{version}" sphinx-build-3 docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} @@ -94,7 +94,9 @@ install -Dpm 0755 misc/webservice.py %{buildroot}%{_bindir}/%{srcname}-webservic %check -%{pytest} -ra -n auto --runslow +%{pytest} -ra -n auto --runslow -k 'not test_tesseract_config_invalid' +# For some reason these break and 'work' when run in parallel. +%{pytest} -ra --runslow -k 'test_tesseract_config_invalid' %files -n %{srcname} -f %{pyproject_files} diff --git a/sources b/sources index 947fa46..7d921f0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ocrmypdf-13.3.0.tar.gz) = 055d28ed49cdfaacf79c20fbad9237e2964272bacb4c52b28a6386584e66494f64072cf478f8a9ce579e9e379ba1dd45a806d87c9cef940f2390b2bf7aa73c10 +SHA512 (ocrmypdf-13.4.0.tar.gz) = 8498b14c240bd58d4d759259b18e95e34fe5cf1158cb717d4a5814fae735c724fd227a4eadfdebc6aacb5f6a2d8d9a47291bb5e2b27f838a69040071ad5dcb14