Hello community, here is the log from the commit of package tesseract-ocr for openSUSE:Factory checked in at 2020-03-27 21:57:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tesseract-ocr (Old) and /work/SRC/openSUSE:Factory/.tesseract-ocr.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tesseract-ocr" Fri Mar 27 21:57:30 2020 rev:10 rq:788742 version:4.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/tesseract-ocr/tesseract-ocr.changes 2020-01-03 17:39:02.251358902 +0100 +++ /work/SRC/openSUSE:Factory/.tesseract-ocr.new.3160/tesseract-ocr.changes 2020-03-27 21:57:54.958814340 +0100 @@ -1,0 +2,7 @@ +Thu Mar 26 20:33:55 UTC 2020 - Bernhard Wiedemann <[email protected]> + +- Add tesseract-ocr-no-cpudetection.patch + to avoid crashing on older CPUs + and to make package build reproducible (boo#1159231) + +------------------------------------------------------------------- New: ---- tesseract-ocr-no-cpudetection.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tesseract-ocr.spec ++++++ --- /var/tmp/diff_new_pack.H1VtrM/_old 2020-03-27 21:57:56.686815345 +0100 +++ /var/tmp/diff_new_pack.H1VtrM/_new 2020-03-27 21:57:56.690815348 +0100 @@ -24,6 +24,8 @@ License: Apache-2.0 AND GPL-2.0-or-later URL: https://github.com/tesseract-ocr/tesseract Source0: https://github.com/tesseract-ocr/tesseract/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE -- boo#1159231 +Patch0: tesseract-ocr-no-cpudetection.patch BuildRequires: asciidoc BuildRequires: autoconf BuildRequires: automake @@ -70,7 +72,7 @@ open-sourced by HP and UNLV in 2005. From 2007 it is developed by Google. %prep -%autosetup -n tesseract-%{version} +%autosetup -n tesseract-%{version} -p1 %build autoreconf -fiv ++++++ tesseract-ocr-no-cpudetection.patch ++++++ Author: Bernhard M. Wiedemann <bwiedemann suse.de> Date: 2020-03-26 https://bugzilla.opensuse.org/show_bug.cgi?id=1159231 avoid crashes on machines that are older than the random build machine and make package builds reproducible. See https://reproducible-builds.org/ for why this is good. Index: tesseract-4.1.1/src/arch/Makefile.am =================================================================== --- tesseract-4.1.1.orig/src/arch/Makefile.am +++ tesseract-4.1.1/src/arch/Makefile.am @@ -47,9 +47,6 @@ libtesseract_sse_la_CXXFLAGS = -msse4.1 endif libtesseract_native_la_CXXFLAGS = -O3 -ffast-math -if MARCH_NATIVE_OPT -libtesseract_native_la_CXXFLAGS += -march=native -mtune=native -endif libtesseract_native_la_SOURCES = dotproduct.cpp libtesseract_arch_la_SOURCES = intsimdmatrix.cpp simddetect.cpp
