diff --git a/python-tesserocr.changes b/python-tesserocr.changes index bd1ae5b..002a22b 100644 --- a/python-tesserocr.changes +++ b/python-tesserocr.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Apr 28 15:30:33 UTC 2024 - Mia Herkt + +- Update to 2.7.0: + * Allow passing configs/variables on initialization + gh#sirfz/tesserocr#349 + * Stub file for completion + gh#sirfz/tesserocr#350 + * Expose leptonica's log level setting via + set_leptonica_log_level function + * Keep tesseract's default debug_file setting + ------------------------------------------------------------------- Tue Apr 2 18:53:44 UTC 2024 - Dirk Müller diff --git a/python-tesserocr.spec b/python-tesserocr.spec index 07fd252..cb9cdb4 100644 --- a/python-tesserocr.spec +++ b/python-tesserocr.spec @@ -17,7 +17,7 @@ Name: python-tesserocr -Version: 2.6.3 +Version: 2.7.0 Release: 0 Summary: A Python wrapper around tesseract-ocr License: MIT @@ -29,6 +29,7 @@ BuildRequires: %{python_module Pillow} BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: python-rpm-macros @@ -58,6 +59,7 @@ GIL while processing an image in tesseract. %install %python_install +%fdupes %{buildroot} %check export TESSDATA_PREFIX=/usr/share/tessdata @@ -72,7 +74,6 @@ donttest+=" or test_init" %files %{python_files} %license LICENSE %doc README.rst -%{python_sitearch}/tesserocr.cpython*.so -%{python_sitearch}/tesserocr*egg-info +%{python_sitearch}/tesserocr* %changelog diff --git a/tesserocr-2.6.3.tar.gz b/tesserocr-2.6.3.tar.gz deleted file mode 100644 index 05ddd22..0000000 --- a/tesserocr-2.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44c1c4ef7bdc286cfa144ce1a097e81c3329f4a43509bc8494a1ab852338c6e1 -size 59231 diff --git a/tesserocr-2.7.0.tar.gz b/tesserocr-2.7.0.tar.gz new file mode 100644 index 0000000..aea0e16 --- /dev/null +++ b/tesserocr-2.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45c093630337d01a6a8f977a246ad6d732eb11f2e072bb226d59ad3d24781c99 +size 71807