From c4f242f00f0cc737d8d325b176e9548fd7ae30d2565c0adbe16cf0901031ef4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Aug 2018 08:59:30 +0000 Subject: [PATCH 1/3] - Drop unused bcond OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=6 --- python-tesserocr.changes | 5 +++++ python-tesserocr.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-tesserocr.changes b/python-tesserocr.changes index 42ee2f5..b55f6d2 100644 --- a/python-tesserocr.changes +++ b/python-tesserocr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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..6076c0c 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} From e75874cae410187ee45df21ef8c6d6b2efb21d96d8869b572d6f79c353be58e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Aug 2018 09:53:53 +0000 Subject: [PATCH 2/3] - Ensure we recommend some of the tesseract data so we can do at least some basic ocr operations OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=7 --- python-tesserocr.changes | 6 ++++++ python-tesserocr.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python-tesserocr.changes b/python-tesserocr.changes index b55f6d2..ea13c41 100644 --- a/python-tesserocr.changes +++ b/python-tesserocr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 2 09:40:45 UTC 2018 - tchvatal@suse.com + +- Ensure we recommend 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 diff --git a/python-tesserocr.spec b/python-tesserocr.spec index 6076c0c..08b70d2 100644 --- a/python-tesserocr.spec +++ b/python-tesserocr.spec @@ -37,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 From 632e85c62f0b47c819d2d63ce8b8d8beb24ccb382698809c21ed2fc669eca9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 3 Aug 2018 07:46:25 +0000 Subject: [PATCH 3/3] - Ensure we require some of the tesseract data so we can do at OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=8 --- python-tesserocr.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-tesserocr.changes b/python-tesserocr.changes index ea13c41..3901beb 100644 --- a/python-tesserocr.changes +++ b/python-tesserocr.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Thu Aug 2 09:40:45 UTC 2018 - tchvatal@suse.com -- Ensure we recommend some of the tesseract data so we can do at +- Ensure we require some of the tesseract data so we can do at least some basic ocr operations -------------------------------------------------------------------