diff --git a/.gitignore b/.gitignore index 0e00623..3bfd72c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /leptonica-1.75.3.tar.gz /leptonica-1.76.0.tar.gz /leptonica-1.77.0.tar.gz +/leptonica-1.78.0.tar.gz diff --git a/leptonica.spec b/leptonica.spec index 724ed3a..a7f132b 100644 --- a/leptonica.spec +++ b/leptonica.spec @@ -1,16 +1,12 @@ Name: leptonica -Version: 1.77.0 -Release: 2%{?dist} +Version: 1.78.0 +Release: 1%{?dist} Summary: C library for efficient image processing and image analysis operations License: Leptonica URL: https://github.com/danbloomberg/leptonica Source0: https://github.com/DanBloomberg/leptonica/archive/%{version}/%{name}-%{version}.tar.gz -# Fix for aarch iomisg_reg test failure, see -# https://github.com/DanBloomberg/leptonica/issues/394 -Patch0: leptonica_tests.patch - BuildRequires: gcc BuildRequires: automake BuildRequires: autoconf @@ -97,6 +93,9 @@ make check VERBOSE=1 %changelog +* Wed Mar 27 2019 Sandro Mani - 1.78.0-1 +- Update to 1.78.0 + * Fri Feb 01 2019 Fedora Release Engineering - 1.77.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/leptonica_tests.patch b/leptonica_tests.patch deleted file mode 100644 index bb6f3dd..0000000 --- a/leptonica_tests.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -rupN leptonica-1.77.0/prog/iomisc_reg.c leptonica-1.77.0-new/prog/iomisc_reg.c ---- leptonica-1.77.0/prog/iomisc_reg.c 2018-12-14 18:36:07.000000000 +0100 -+++ leptonica-1.77.0-new/prog/iomisc_reg.c 2018-12-19 17:10:47.825643044 +0100 -@@ -90,7 +90,7 @@ L_REGPARAMS *rp; - pixSetZlibCompression(pixs, 2 * level); - pixWrite("/tmp/lept/io/zlibtest.png", pixs, IFF_PNG); - size = nbytesInFile("/tmp/lept/io/zlibtest.png"); -- regTestCompareValues(rp, zlibsize[level], size, 10.0); /* 3 - 7 */ -+ regTestCompareValues(rp, zlibsize[level], size, 3000.0); /* 3 - 7 */ - if (rp->display) - fprintf(stderr, "zlib level = %d, file size = %ld\n", - level, (unsigned long)size); -@@ -267,7 +267,7 @@ L_REGPARAMS *rp; - pixWrite("/tmp/lept/io/fract7.tif", pixs, IFF_TIFF_ZIP); - regTestCheckFile(rp, "/tmp/lept/io/fract7.tif"); /* 34 */ - size = nbytesInFile("/tmp/lept/io/fract7.tif"); -- regTestCompareValues(rp, tiffsize[6], size, 0.0); /* 35 */ -+ regTestCompareValues(rp, tiffsize[6], size, 200.0); /* 35 */ - if (rp->display) - fprintf(stderr, "zip: %ld\n", (unsigned long)size); - pixg = pixConvertTo8(pixs, 0); diff --git a/sources b/sources index 034264d..18603b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (leptonica-1.77.0.tar.gz) = a44a95468dab3604ced8c8906ddff9ee68fa2d01f3e0deb6c3921993c4e0e91e7791cad6d6399076753b42a777dc9724d04a1a0fc0cfe6c1e76df333a4f2e44a +SHA512 (leptonica-1.78.0.tar.gz) = 7f1c3062fe29bb3060602e2cc66567521fdd9a0cc7b617c67bfcf9ac380f8d451a09a9f8c2bc137aedf38f8210c0fdffcd40e9bf87b025c2fa57c6d6e6ea38fc