Use supported attribute to check pillow version

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1789664
This commit is contained in:
Miro Hrončok
2020-01-22 13:05:01 +01:00
parent 1f37c6ab3a
commit 8d98548134
2 changed files with 32 additions and 0 deletions
+5
View File
@@ -64,6 +64,9 @@ Patch0002: 0001-Use-packaged-jquery-and-jquery-ui.patch
Patch0003: 0001-Fix-env-override-in-WebAgg-backend-test.patch
# https://github.com/matplotlib/matplotlib/pull/15763
Patch0004: 0001-Skip-webagg-test-if-tornado-is-not-available.patch
# https://github.com/matplotlib/matplotlib/pull/16086
Patch0005: 0001-Use-supported-attribute-to-check-pillow-version.patch
# Fedora-specific patches; see:
# https://github.com/fedora-python/matplotlib/tree/fedora-patches
@@ -270,6 +273,8 @@ Requires: python3-matplotlib%{?_isa} = %{version}-%{release}
%patch0004 -p1
%patch0005 -p1
# Fedora-specific patches follow:
%patch1001 -p1
# Updated test images for new FreeType.