diff --git a/python-tesserocr.changes b/python-tesserocr.changes index 42ee2f5..3901beb 100644 --- a/python-tesserocr.changes +++ b/python-tesserocr.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Aug 2 09:40:45 UTC 2018 - tchvatal@suse.com + +- Ensure we require some of the tesseract data so we can do at + least some basic ocr operations + +------------------------------------------------------------------- +Thu Aug 2 08:59:20 UTC 2018 - tchvatal@suse.com + +- Drop unused bcond + ------------------------------------------------------------------- Tue Jun 26 16:07:43 UTC 2018 - 9+suse@cirno.systems diff --git a/python-tesserocr.spec b/python-tesserocr.spec index 91d8549..08b70d2 100644 --- a/python-tesserocr.spec +++ b/python-tesserocr.spec @@ -17,14 +17,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-tesserocr Version: 2.3.0 Release: 0 Summary: A simple, Pillow-friendly, Python wrapper around tesseract-ocr License: MIT Group: Development/Languages/Python -Url: https://github.com/sirfz/tesserocr +URL: https://github.com/sirfz/tesserocr Source: https://files.pythonhosted.org/packages/source/t/tesserocr/tesserocr-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module Pillow} @@ -38,6 +37,8 @@ BuildRequires: python-rpm-macros BuildRequires: tesseract-ocr-traineddata-english BuildRequires: tesseract-ocr-traineddata-orientation_and_script_detection BuildRequires: pkgconfig(tesseract) +Requires: tesseract-ocr-traineddata-english +Requires: tesseract-ocr-traineddata-orientation_and_script_detection Recommends: python-Pillow %python_subpackages