From 6514a201471d6fec978a4a1abb18b92e17ee29cc Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Apr 18 2023 12:58:21 +0000 Subject: Update to 0.12.2 (close RHBZ#2158610) --- diff --git a/.gitignore b/.gitignore index 5c3a1dc..d1ab6f0 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /python-glymur-0.11.7.tar.gz /python-glymur-0.12.0.tar.gz /python-glymur-0.12.1.tar.gz +/python-glymur-0.12.2.tar.gz diff --git a/python-glymur.spec b/python-glymur.spec index 258a1eb..dec634a 100644 --- a/python-glymur.spec +++ b/python-glymur.spec @@ -1,5 +1,5 @@ Name: python-glymur -Version: 0.12.1 +Version: 0.12.2 Release: %autorelease Summary: Interface to the OpenJPEG library for working with JPEG 2000 files @@ -72,7 +72,28 @@ install -m 0644 -p -D -t %{buildroot}%{_mandir}/man1 %{SOURCE1} %{SOURCE2} %check -%pytest -v +%ifarch s390x +# New s390x test failures on Fedora in 0.12.2 +# https://github.com/quintusdias/glymur/issues/604 +# +# See also: +# +# glymur autopkgtests regressed on s390x +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032291 +# +# Note that it has been… +# +# “verified that the tests from 0.12.1 pass with either the 0.12.1 or 0.12.2 +# code, and the tests from 0.12.2 fail with either the 0.12.1 or 0.12.2 code” +# +# That is, new tests revealed existing problems, and there is no evidence that +# there are regressions. +k="${k-}${k+ and }not (TestSuite and test_rgb_tiled_bigtiff)" +k="${k-}${k+ and }not (TestSuite and test_ycbcr_jpeg_single_tile)" +k="${k-}${k+ and }not (TestSuite and test_ycbcr_jpeg_tiff)" +k="${k-}${k+ and }not (TestSuite and test_ycbcr_jpeg_unevenly_tiled)" +%endif +%pytest -v -k "${k-}" %files -n python3-glymur -f %{pyproject_files} diff --git a/sources b/sources index 8ef547b..e46b312 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-glymur-0.12.1.tar.gz) = 09b73386f52d2c5eab706d84530a05647170c2cbff9cef8f66f481cd285a3c6aafb469904a399c49e2f50cb67b184c7e7cd7cbced5e1c7103282162802d62b81 +SHA512 (python-glymur-0.12.2.tar.gz) = dcef07e2bae10bb90ff65f752682b08e4378b79c68c499081d25b887664d1a90479274ac6be7b25a68d13701f065ffa629eddb7ae0536c1280b41a402ad9fe4a