Skip t/02-test_ocr.t on EL9 (tesseract OCR mismatch)

EL9 ships tesseract 4.1.1, which OCRs the test needle differently than
the newer tesseract on Fedora, so the "multiple OCR regions" subtest of
test-perl-testsuite fails. Drop the test in %prep, matching the historic
AlmaLinux 4.6 packaging (the Fedora v5 spec had removed that exclusion).
This commit is contained in:
Andrew Lukoshko 2026-07-21 15:30:08 +02:00
parent 22089ac3ab
commit c89b5a4f4b

View File

@ -184,6 +184,10 @@ rm -f t/99-full-stack.t
rm xt/00-tidy.t tools/tidyall
# Remove test relying on a git working copy
rm xt/30-make.t
# AlmaLinux/EL9: tesseract 4.1.1 OCRs the test needle differently than the
# newer tesseract on Fedora, so the "multiple OCR regions" subtest fails.
# Drop this test on EL9 (matches the historic AlmaLinux 4.6 packaging).
rm -f t/02-test_ocr.t
%ifarch aarch64 s390x
# https://progress.opensuse.org/issues/194359
# https://progress.opensuse.org/issues/199940